mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-08 18:28:53 +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;
|
return;
|
||||||
}
|
}
|
||||||
final newItems = state.items
|
final newItems = state.items
|
||||||
.where((element) => !ev.shares.containsIdentical(element.share))
|
.where((i) => !ev.shares.contains(i.share))
|
||||||
.toList();
|
.toList();
|
||||||
// i love hacks :)
|
// i love hacks :)
|
||||||
yield (state as dynamic).copyWith(
|
yield (state as dynamic).copyWith(
|
||||||
|
|
Loading…
Reference in a new issue