1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Open conversations in their context

This commit is contained in:
2021-04-06 18:22:45 +02:00
parent 66d8fbd234
commit 1d0609f66e
10 changed files with 43 additions and 17 deletions

View File

@ -175,7 +175,7 @@ class _ConversationWindowState extends SafeState<ConversationWindow> {
}
void _openFullScreen() {
MainController.of(context).openConversation(_convID, fullScreen: true);
MainController.of(context).openConversationById(_convID, fullScreen: true);
widget.onClose();
}

View File

@ -223,7 +223,7 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
subtitle: Text(diffTimeFromNowToStr(membership.lastActive) +
(conversation.isHavingCall ? "\n" + tr("Ongoing call") : "")),
onTap: () => MainController.of(context)
.openConversation(conversation.id, fullScreen: true),
.openConversationById(conversation.id, fullScreen: true),
trailing: conversation.isHavingCall
? FloatingActionButton(
heroTag: null,