feat(mobile): drift archive page (#19740)

* feat(mobile): drift archive page

* fix: lint

* feat: include local indicator

* remove join in bucket

* remove showing local indicator in bucket

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: alex <alex@localhost-live.localdomain>
This commit is contained in:
Daimolean 2025-07-07 11:51:58 +08:00 committed by GitHub
parent d5923241b5
commit 56756baea2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 118 additions and 1 deletions

View file

@ -53,6 +53,13 @@ class TimelineFactory {
bucketSource: () =>
_timelineRepository.watchRemoteBucket(albumId, groupBy: groupBy),
);
TimelineService archive(String userId) => TimelineService(
assetSource: (offset, count) => _timelineRepository
.getArchiveBucketAssets(userId, offset: offset, count: count),
bucketSource: () =>
_timelineRepository.watchArchiveBucket(userId, groupBy: groupBy),
);
}
class TimelineService {