mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): drift locked folder page (#19746)
* feat(mobile): drift locked folder page * feat: include local indicator * remove join in bucket * remove status indicator join --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
5579554532
commit
cf91d9bdfc
6 changed files with 120 additions and 0 deletions
|
|
@ -67,6 +67,15 @@ class TimelineFactory {
|
|||
bucketSource: () =>
|
||||
_timelineRepository.watchArchiveBucket(userId, groupBy: groupBy),
|
||||
);
|
||||
|
||||
TimelineService lockedFolder(String userId) => TimelineService(
|
||||
assetSource: (offset, count) => _timelineRepository
|
||||
.getLockedFolderBucketAssets(userId, offset: offset, count: count),
|
||||
bucketSource: () => _timelineRepository.watchLockedFolderBucket(
|
||||
userId,
|
||||
groupBy: groupBy,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
class TimelineService {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue