fix(mobile) add and delete asset in album doesn' (#1474)

t update count in list
This commit is contained in:
Alex
2023-01-28 21:57:13 -06:00
committed by GitHub
parent dfbc831525
commit 91114e5aa0
5 changed files with 134 additions and 108 deletions

View File

@@ -96,6 +96,7 @@ class AlbumViewerAppbar extends HookConsumerWidget with PreferredSizeWidget {
if (isSuccess) {
Navigator.pop(context);
ref.watch(assetSelectionProvider.notifier).disableMultiselection();
ref.watch(albumProvider.notifier).getAllAlbums();
ref.invalidate(sharedAlbumDetailProvider(albumId));
} else {
Navigator.pop(context);