From 8d272f8abc99be3f0cdde32b997d23a06fdf9f4b 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 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 {