From b47027efc24bec447296ce9d6b27fa2d47ae13f7 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 17 Jun 2023 23:09:55 -0500 Subject: [PATCH] fix(mobile): Sort newest first for asset selection in album (#2833) --- mobile/lib/shared/providers/asset.provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/shared/providers/asset.provider.dart b/mobile/lib/shared/providers/asset.provider.dart index 54e9694268..6a72778c1e 100644 --- a/mobile/lib/shared/providers/asset.provider.dart +++ b/mobile/lib/shared/providers/asset.provider.dart @@ -190,7 +190,7 @@ final remoteAssetsProvider = .remoteIdIsNotNull() .filter() .ownerIdEqualTo(userId) - .sortByFileCreatedAt(); + .sortByFileCreatedAtDesc(); final settings = ref.watch(appSettingsServiceProvider); final groupBy = GroupAssetsBy.values[settings.getSetting(AppSettingsEnum.groupAssetsBy)];