fix(mobile): fix asset order in album from latest to oldest (#3469)

This commit is contained in:
Alex 2023-07-31 13:02:29 -05:00 committed by GitHub
parent 51cfe10c28
commit c587fb1df8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ class Album {
}
Stream<void> watchRenderList(GroupAssetsBy groupAssetsBy) async* {
final query = assets.filter().sortByFileCreatedAt();
final query = assets.filter().sortByFileCreatedAtDesc();
_renderList = await RenderList.fromQuery(query, groupAssetsBy);
yield _renderList;
await for (final _ in query.watchLazy()) {