mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
10 lines
370 B
Dart
10 lines
370 B
Dart
|
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<List<Memory>?>((ref) async {
|
||
|
final service = ref.watch(memoryServiceProvider);
|
||
|
|
||
|
return await service.getMemoryLane();
|
||
|
});
|