From 1c63346b0cfabe5958d7b122186b5829926b6238 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Wed, 24 Nov 2021 17:27:23 +0800 Subject: [PATCH] Fix sharing browser not updated after unsharing album --- lib/bloc/list_sharing.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bloc/list_sharing.dart b/lib/bloc/list_sharing.dart index ac2f0619..8fc08488 100644 --- a/lib/bloc/list_sharing.dart +++ b/lib/bloc/list_sharing.dart @@ -216,7 +216,7 @@ class ListSharingBloc extends Bloc { 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(