From c587fb1df886416260629c586575cfbe84db8ec1 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 31 Jul 2023 13:02:29 -0500 Subject: [PATCH] fix(mobile): fix asset order in album from latest to oldest (#3469) --- mobile/lib/shared/models/album.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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()) {