mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
* feat: memories sliver * memories lane * display and show memory * fix: get correct memories * naming * pr feedback * use equalsValue for visibility --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
16 lines
450 B
Dart
16 lines
450 B
Dart
import 'package:immich_mobile/domain/models/memory.model.dart';
|
|
import 'package:immich_mobile/infrastructure/repositories/memory.repository.dart';
|
|
import 'package:logging/logging.dart';
|
|
|
|
class DriftMemoryService {
|
|
final log = Logger("DriftMemoryService");
|
|
|
|
final DriftMemoryRepository _repository;
|
|
|
|
DriftMemoryService(this._repository);
|
|
|
|
Future<List<DriftMemory>> getMemoryLane(String ownerId) {
|
|
return _repository.getAll(ownerId);
|
|
}
|
|
}
|