mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 19:12:11 -08:00
init before app launch
This commit is contained in:
@@ -115,6 +115,8 @@ Future<void> initApp() async {
|
||||
yield LicenseEntryWithLineBreaks([license.key], license.value);
|
||||
}
|
||||
});
|
||||
|
||||
await NetworkRepository.init();
|
||||
}
|
||||
|
||||
class ImmichApp extends ConsumerStatefulWidget {
|
||||
@@ -168,7 +170,6 @@ class ImmichAppState extends ConsumerState<ImmichApp> with WidgetsBindingObserve
|
||||
}
|
||||
SystemChrome.setSystemUIOverlayStyle(overlayStyle);
|
||||
await ref.read(localNotificationService).setup();
|
||||
await NetworkRepository.init();
|
||||
}
|
||||
|
||||
Future<DeepLink> _deepLinkBuilder(PlatformDeepLink deepLink) async {
|
||||
|
||||
Reference in New Issue
Block a user