diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index 1aa2a4a2f3..689c1b1e03 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -121,6 +121,8 @@ Future initApp() async { yield LicenseEntryWithLineBreaks([license.key], license.value); } }); + + await NetworkRepository.init(); } class ImmichApp extends ConsumerStatefulWidget { @@ -174,7 +176,6 @@ class ImmichAppState extends ConsumerState with WidgetsBindingObserve } SystemChrome.setSystemUIOverlayStyle(overlayStyle); await ref.read(localNotificationService).setup(); - await NetworkRepository.init(); } Future _deepLinkBuilder(PlatformDeepLink deepLink) async {