splash gif switched by lottie animation
This commit is contained in:
1
apps/mobile_app/assets/shared/images/intro_app.json
Normal file
1
apps/mobile_app/assets/shared/images/intro_app.json
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 469 KiB |
@@ -32,6 +32,9 @@ Future<void> initApp(EnvironmentEnum env) async {
|
||||
log: env.isDevelopment || kDebugMode,
|
||||
onTokenExpired: () => appRouter.go(AppRoutes.scaTreezor),
|
||||
onUnauthorized: () async {
|
||||
final currentLocation =
|
||||
appRouter.routerDelegate.currentConfiguration.uri.path;
|
||||
if (currentLocation == AppRoutes.splash) return;
|
||||
try {
|
||||
await GetIt.I<TreezorWalletConnectionService>().logout();
|
||||
} catch (_) {}
|
||||
|
||||
Reference in New Issue
Block a user