mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Fix post update logic running twice
This commit is contained in:
parent
e165c618fe
commit
c4c750a778
1 changed files with 0 additions and 5 deletions
|
@ -330,11 +330,6 @@ class _AlbumBrowserState extends State<AlbumBrowser>
|
|||
selectedIndexes.length)),
|
||||
duration: k.snackBarDurationNormal,
|
||||
));
|
||||
setState(() {
|
||||
_album = newAlbum;
|
||||
_transformItems();
|
||||
initCover(widget.account, newAlbum);
|
||||
});
|
||||
}).catchError((e, stacktrace) {
|
||||
_log.shout("[_onSelectionRemovePressed] Failed while updating album", e,
|
||||
stacktrace);
|
||||
|
|
Loading…
Reference in a new issue