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:
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user