mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Fix sharing browser not updated after unsharing album
This commit is contained in:
parent
2355f8e8a8
commit
1c63346b0c
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class ListSharingBloc extends Bloc<ListSharingBlocEvent, ListSharingBlocState> {
|
|||
return;
|
||||
}
|
||||
final newItems = state.items
|
||||
.where((element) => !ev.shares.containsIdentical(element.share))
|
||||
.where((i) => !ev.shares.contains(i.share))
|
||||
.toList();
|
||||
// i love hacks :)
|
||||
yield (state as dynamic).copyWith(
|
||||
|
|
Loading…
Reference in a new issue