fix : chicken app login and new module logic

This commit is contained in:
2025-08-26 12:22:43 +03:30
parent 8402acbeac
commit e65567ce69
14 changed files with 136 additions and 68 deletions

View File

@@ -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');
}