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:
Daimolean 2025-07-07 12:29:33 +08:00 committed by GitHub
parent 5579554532
commit cf91d9bdfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 120 additions and 0 deletions

View file

@ -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 {