From 53358c768cae41e7e6913b488a448c2a37b1420f Mon Sep 17 00:00:00 2001 From: Yashraj Jain Date: Thu, 10 Oct 2024 14:22:12 +0530 Subject: [PATCH] fix(mobile): trash sorting order (#13299) * fix: trash sorting order * updated after comparing with web --- mobile/lib/providers/trash.provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/providers/trash.provider.dart b/mobile/lib/providers/trash.provider.dart index 45ab1a518583e..8bbac853c7bab 100644 --- a/mobile/lib/providers/trash.provider.dart +++ b/mobile/lib/providers/trash.provider.dart @@ -167,6 +167,6 @@ final trashedAssetsProvider = StreamProvider((ref) { .filter() .ownerIdEqualTo(user.isarId) .isTrashedEqualTo(true) - .sortByFileCreatedAt(); + .sortByFileCreatedAtDesc(); return renderListGeneratorWithGroupBy(query, GroupAssetsBy.none); });