mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Handles correctly notifications
This commit is contained in:
parent
9a2efaae1c
commit
e231f26231
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user