fix: allow to leave favourite albums

This commit is contained in:
Aman Raj Singh Mourya
2025-05-16 14:44:48 +05:30
parent 793fd5ba39
commit 1c4ebcccb1

View File

@@ -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();