Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Show uncategorized album as the first option in collection action sheet

ashilkn466bb40a3018
diff --git a/mobile/lib/ui/collections/collection_action_sheet.dart b/mobile/lib/ui/collections/collection_action_sheet.dart
index 26858b4d7e..dbc4a57ca6 100644
--- a/mobile/lib/ui/collections/collection_action_sheet.dart
+++ b/mobile/lib/ui/collections/collection_action_sheet.dart
@@ -305,7 +305,7 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {
unpinned.add(collection);
}
}
- return pinned + unpinned + (uncategorized != null ? [uncategorized] : []);
+ return (uncategorized != null ? [uncategorized] + pinned + unpinned : []);
}
}