mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix warning
This commit is contained in:
parent
2e08ba8d70
commit
d6de85be27
83 changed files with 357 additions and 269 deletions
|
|
@ -95,8 +95,8 @@ class SplashScreenPageState extends ConsumerState<SplashScreenPage> {
|
|||
);
|
||||
} else {
|
||||
log.severe('Missing crucial offline login info - Logging out completely');
|
||||
ref.read(authProvider.notifier).logout();
|
||||
context.replaceRoute(const LoginRoute());
|
||||
unawaited(ref.read(authProvider.notifier).logout());
|
||||
unawaited(context.replaceRoute(const LoginRoute()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ class SplashScreenPageState extends ConsumerState<SplashScreenPage> {
|
|||
final hasPermission = await ref.read(galleryPermissionNotifier.notifier).hasPermission;
|
||||
if (hasPermission) {
|
||||
// Resume backup (if enable) then navigate
|
||||
ref.watch(backupProvider.notifier).resumeBackup();
|
||||
await ref.watch(backupProvider.notifier).resumeBackup();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue