diff --git a/mobile/lib/modules/memories/providers/memory.provider.dart b/mobile/lib/modules/memories/providers/memory.provider.dart index 6ad437aac5..2552b243de 100644 --- a/mobile/lib/modules/memories/providers/memory.provider.dart +++ b/mobile/lib/modules/memories/providers/memory.provider.dart @@ -2,7 +2,8 @@ import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:immich_mobile/modules/memories/models/memory.dart'; import 'package:immich_mobile/modules/memories/services/memory.service.dart'; -final memoryFutureProvider = FutureProvider?>((ref) async { +final memoryFutureProvider = + FutureProvider.autoDispose?>((ref) async { final service = ref.watch(memoryServiceProvider); return await service.getMemoryLane();