fix : chicken app login and new module logic
This commit is contained in:
@@ -17,7 +17,7 @@ class CustomNavigationObserver extends NavigatorObserver {
|
||||
@override
|
||||
void didPush(Route route, Route? previousRoute) async {
|
||||
final routeName = route.settings.name;
|
||||
if (!_isWorkDone && (routeName == ChickenRoutes.init || routeName == ChickenRoutes.auth)) {
|
||||
/* if (!_isWorkDone && (routeName == ChickenRoutes.init || routeName == ChickenRoutes.auth)) {
|
||||
_isWorkDone = true;
|
||||
await setupChickenDI();
|
||||
} else if (!_isWorkDone &&
|
||||
@@ -28,7 +28,7 @@ class CustomNavigationObserver extends NavigatorObserver {
|
||||
} else if (!_isWorkDone &&
|
||||
(routeName == LiveStockRoutes.init || routeName == LiveStockRoutes.auth)) {
|
||||
|
||||
}
|
||||
}*/
|
||||
super.didPush(route, previousRoute);
|
||||
// tLog('CustomNavigationObserver: didPush - $routeName');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user