diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index 672198e5bf..5c9a60393d 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -14,6 +14,7 @@ import 'package:immich_mobile/modules/backup/models/duplicated_asset.model.dart' import 'package:immich_mobile/modules/backup/providers/backup.provider.dart'; import 'package:immich_mobile/modules/backup/providers/ios_background_settings.provider.dart'; import 'package:immich_mobile/modules/login/providers/authentication.provider.dart'; +import 'package:immich_mobile/modules/memories/providers/memory.provider.dart'; import 'package:immich_mobile/modules/onboarding/providers/gallery_permission.provider.dart'; import 'package:immich_mobile/modules/settings/providers/notification_permission.provider.dart'; import 'package:immich_mobile/routing/router.dart'; @@ -156,6 +157,8 @@ class ImmichAppState extends ConsumerState ref.read(iOSBackgroundSettingsProvider.notifier).refresh(); + ref.invalidate(memoryFutureProvider); + break; case AppLifecycleState.inactive: