diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index 74f8af1edc..0d8e3877f8 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -115,6 +115,8 @@ Future initApp() async { yield LicenseEntryWithLineBreaks([license.key], license.value); } }); + + await NetworkRepository.init(); } class ImmichApp extends ConsumerStatefulWidget { @@ -168,7 +170,6 @@ class ImmichAppState extends ConsumerState with WidgetsBindingObserve } SystemChrome.setSystemUIOverlayStyle(overlayStyle); await ref.read(localNotificationService).setup(); - await NetworkRepository.init(); } Future _deepLinkBuilder(PlatformDeepLink deepLink) async {