Skip to content

armgit / ente

Public Imported from GitHub
0

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

added unpin option for mixed pin state multiselect

a5xwinb877b0a4cc88
diff --git a/mobile/apps/auth/lib/ui/home_page.dart b/mobile/apps/auth/lib/ui/home_page.dart
index 2a08a9d7dc..cf9b8be206 100644
--- a/mobile/apps/auth/lib/ui/home_page.dart
+++ b/mobile/apps/auth/lib/ui/home_page.dart
@@ -231,7 +231,6 @@ Widget _buildTrashSelectActions() {
// Determine the state of the current selection (pinned/unpinned)
final bool allArePinned = codesToUpdate.every((code) => code.isPinned);
- final bool allAreUnpinned = codesToUpdate.every((code) => !code.isPinned);
if (allArePinned) {
// if all are pinned, unpin all