mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +00:00
Attempt to fix issue
This commit is contained in:
parent
90996d6be7
commit
64c71450ff
@ -26,9 +26,14 @@ class ForezRoute extends StatefulWidget implements MainRoute {
|
||||
|
||||
/// Private implementation of HomeController
|
||||
class _MainRouteState extends MainController {
|
||||
final GlobalKey<_ForezRouteBodyState> _mainKey = GlobalKey();
|
||||
|
||||
@override
|
||||
PageInfo get defaultPage => PageInfo(
|
||||
type: PageType.OTHER_PAGE, child: ForezRouteBody(), hideNavBar: true);
|
||||
type: PageType.OTHER_PAGE,
|
||||
child: ForezRouteBody(key: _mainKey),
|
||||
hideNavBar: true,
|
||||
);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@ -62,6 +67,8 @@ class _MainRouteState extends MainController {
|
||||
enum _PopupMenuItems { ACTION_SETTINGS, ACTION_SIGN_OUT }
|
||||
|
||||
class ForezRouteBody extends StatefulWidget {
|
||||
ForezRouteBody({Key key}) : super(key: key);
|
||||
|
||||
@override
|
||||
_ForezRouteBodyState createState() => _ForezRouteBodyState();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user