Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fixed sorting for pinned albums in 'Add to' section (#8481)

Neeraj78d8a709a304
diff --git a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart
index b0e315edaf..f14f0c1c09 100644
--- a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart
+++ b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart
@@ -449,7 +449,9 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {
recentlyCreated.add(collection);
continue;
}
- if (collection.isPinned) {
+ final bool isPinned =
+ collection.isPinned || collection.hasShareePinned();
+ if (isPinned) {
pinned.add(collection);
} else {
unpinned.add(collection);
diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txt
index e0b767fde3..8131b31e40 100644
--- a/mobile/apps/photos/scripts/internal_changes.txt
+++ b/mobile/apps/photos/scripts/internal_changes.txt
@@ -1,11 +1,6 @@
+- Neeraj: Fixed order for [pinned albums](https://github.com/ente-io/ente/discussions/5979)
- Neeraj: Show recent move/add to collections on top (in memory)
- Prateek: (i) Stop streaming if not 75% processed for upload and thermal change
- Prateek(i): Stop streaming immediately on log-out
-- Ashil: Move add to album cta in file viewer from popup menu to bottom bar
-- Fix remove from album [1](https://github.com/ente-io/ente/issues/7705)
-- Neeraj: Show public link to album participants
-- Laurens: (i) Rituals redesign
-- Laurens: (i) Manual people tagging
-- Ashil: New favorite icon
- Prateek: (i) Add "Start with latest backups" (last 7 days onwards)
- Neeraj: (i) Admin Role + Suggest Delete feature