mirror of
https://github.com/immich-app/immich.git
synced 2024-12-17 12:22:31 +02:00
39a885a37c
* Add page view * Nice page view * refactor file structure * Added card * invalidating data * transition * styling * correct styleing * refactor * click to navigate * styling * TODO * clean up * clean up * pr feedback * pr feedback * better loading indicator
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();
|
|
});
|