mirror of
https://github.com/immich-app/immich.git
synced 2025-05-30 19:54:52 -04:00
fix(mobile): fix asset order in album from latest to oldest (#3469)
This commit is contained in:
parent
51cfe10c28
commit
c587fb1df8
@ -71,7 +71,7 @@ class Album {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Stream<void> watchRenderList(GroupAssetsBy groupAssetsBy) async* {
|
Stream<void> watchRenderList(GroupAssetsBy groupAssetsBy) async* {
|
||||||
final query = assets.filter().sortByFileCreatedAt();
|
final query = assets.filter().sortByFileCreatedAtDesc();
|
||||||
_renderList = await RenderList.fromQuery(query, groupAssetsBy);
|
_renderList = await RenderList.fromQuery(query, groupAssetsBy);
|
||||||
yield _renderList;
|
yield _renderList;
|
||||||
await for (final _ in query.watchLazy()) {
|
await for (final _ in query.watchLazy()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user