From 1e0e0d8066a5437dd20329ee471e757be456122c Mon Sep 17 00:00:00 2001 From: mertalev <101130780+mertalev@users.noreply.github.com> Date: Tue, 2 Sep 2025 12:29:31 -0400 Subject: [PATCH] init before app launch --- mobile/lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {