mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-21 09:15:17 +00:00
Can call MainController from dialogs
This commit is contained in:
@ -55,7 +55,7 @@ class CurrPage {
|
||||
}
|
||||
|
||||
/// Private implementation of HomeController
|
||||
class _MainRouteState extends State<MainRoute> implements MainController {
|
||||
class _MainRouteState extends MainController {
|
||||
CurrPage get _currTab => history.last;
|
||||
List<CurrPage> history = List();
|
||||
|
||||
@ -67,7 +67,7 @@ class _MainRouteState extends State<MainRoute> implements MainController {
|
||||
}
|
||||
|
||||
/// Pop the page
|
||||
void popPage() {
|
||||
void doPopPage() {
|
||||
if (history.length > 1) history.removeLast();
|
||||
setState(() {});
|
||||
}
|
||||
|
Reference in New Issue
Block a user