mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +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