Skip to content

High performance self-hosted photo and video management solution.

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

Alexc587fb1df886
diff --git a/mobile/lib/shared/models/album.dart b/mobile/lib/shared/models/album.dart
index 81a834b993..486647ad1b 100644
--- a/mobile/lib/shared/models/album.dart
+++ b/mobile/lib/shared/models/album.dart
@@ -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()) {