Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: allow to leave favourite albums

Aman Raj Singh Mourya1c4ebcccb185
diff --git a/mobile/lib/ui/viewer/actions/album_selection_action_widget.dart b/mobile/lib/ui/viewer/actions/album_selection_action_widget.dart
index 8d6546cb44..fd87150139 100644
--- a/mobile/lib/ui/viewer/actions/album_selection_action_widget.dart
+++ b/mobile/lib/ui/viewer/actions/album_selection_action_widget.dart
@@ -325,9 +325,6 @@ class _AlbumSelectionActionWidgetState
labelText: S.of(context).leaveAlbum,
onTap: () async {
for (final collection in widget.selectedAlbums.albums) {
- if (collection.type == CollectionType.favorites) {
- continue;
- }
await CollectionsService.instance.leaveAlbum(collection);
}
widget.selectedAlbums.clearAll();