mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): drift favorite page (#19783)
* feat(mobile): drift favorite page * remove status indicator join
This commit is contained in:
parent
8c5269c002
commit
d149d6fa3f
6 changed files with 114 additions and 0 deletions
|
|
@ -54,6 +54,13 @@ class TimelineFactory {
|
|||
_timelineRepository.watchRemoteBucket(albumId, groupBy: groupBy),
|
||||
);
|
||||
|
||||
TimelineService favorite(String userId) => TimelineService(
|
||||
assetSource: (offset, count) => _timelineRepository
|
||||
.getFavoriteBucketAssets(userId, offset: offset, count: count),
|
||||
bucketSource: () =>
|
||||
_timelineRepository.watchFavoriteBucket(userId, groupBy: groupBy),
|
||||
);
|
||||
|
||||
TimelineService trash(String userId) => TimelineService(
|
||||
assetSource: (offset, count) => _timelineRepository
|
||||
.getTrashBucketAssets(userId, offset: offset, count: count),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue