mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 16:25:17 +00:00
Auto-hide conversations list when a conversation is selected
This commit is contained in:
@ -32,8 +32,8 @@ mixin MainController implements State<MainRoute> {
|
||||
void push(Widget w, {bool hideNavBar});
|
||||
|
||||
/// Open a conversation
|
||||
void openConversation(int convID);
|
||||
void openConversation(int convID, {fullScreen: false});
|
||||
|
||||
/// Start a call for a given conversation
|
||||
void startCall(int convID);
|
||||
}
|
||||
}
|
||||
|
@ -52,8 +52,6 @@ class CurrPage {
|
||||
"\n}";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// Private implementation of HomeController
|
||||
class _MainRouteState extends State<MainRoute> implements MainController {
|
||||
CurrPage get _currTab => history.last;
|
||||
@ -252,7 +250,7 @@ class _MainRouteState extends State<MainRoute> implements MainController {
|
||||
}
|
||||
|
||||
@override
|
||||
void openConversation(int convID) {
|
||||
void openConversation(int convID, {fullScreen: false}) {
|
||||
_pushPage(CurrPage(
|
||||
BarCallbackActions.OPEN_CONVERSATION,
|
||||
args: {"convID": convID},
|
||||
|
Reference in New Issue
Block a user