mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 16:25:17 +00:00
Handles correctly notifications
This commit is contained in:
@ -59,7 +59,10 @@ abstract class MainController extends State<MainRoute> {
|
||||
}
|
||||
|
||||
/// Push a new page
|
||||
void pushPage(PageInfo page) => setState(() => _pagesStack.add(page));
|
||||
void pushPage(PageInfo page) {
|
||||
popUntilMainRoute();
|
||||
setState(() => _pagesStack.add(page));
|
||||
}
|
||||
|
||||
/// Pop current page. Do not call this method directly.
|
||||
@protected
|
||||
|
Reference in New Issue
Block a user