Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): trash sorting order (#13299)

Yashraj Jain53358c768cae
diff --git a/mobile/lib/providers/trash.provider.dart b/mobile/lib/providers/trash.provider.dart
index 45ab1a5185..8bbac853c7 100644
--- a/mobile/lib/providers/trash.provider.dart
+++ b/mobile/lib/providers/trash.provider.dart
@@ -167,6 +167,6 @@ final trashedAssetsProvider = StreamProvider<RenderList>((ref) {
.filter()
.ownerIdEqualTo(user.isarId)
.isTrashedEqualTo(true)
- .sortByFileCreatedAt();
+ .sortByFileCreatedAtDesc();
return renderListGeneratorWithGroupBy(query, GroupAssetsBy.none);
});