fix : ui fix after release 1.3.3
This commit is contained in:
@@ -18,12 +18,14 @@ class CustomNavigationObserver extends NavigatorObserver {
|
||||
_isWorkDone = true;
|
||||
await setupInjection();
|
||||
}
|
||||
iLog('message');
|
||||
}
|
||||
|
||||
|
||||
@override
|
||||
void didReplace({Route? newRoute, Route? oldRoute}) {
|
||||
super.didReplace(newRoute: newRoute, oldRoute: oldRoute);
|
||||
iLog('didReplace');
|
||||
|
||||
}
|
||||
|
||||
@@ -31,10 +33,12 @@ class CustomNavigationObserver extends NavigatorObserver {
|
||||
void didPop(Route route, Route? previousRoute) {
|
||||
super.didPop(route, previousRoute);
|
||||
|
||||
iLog('didPop');
|
||||
}
|
||||
|
||||
@override
|
||||
void didRemove(Route route, Route? previousRoute) {
|
||||
super.didRemove(route, previousRoute);
|
||||
iLog('didRemove');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@ Future<void> main() async {
|
||||
await setupPreInjection();
|
||||
|
||||
Get.put(TokenStorageService());
|
||||
var tokenService = Get.find<TokenStorageService>();
|
||||
await tokenService.init();
|
||||
await Get.find<TokenStorageService>().init();
|
||||
|
||||
Get.put(AuthMiddleware());
|
||||
Get.put(AuthService());
|
||||
runApp(MyApp());
|
||||
|
||||
Reference in New Issue
Block a user