mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 09:16:19 +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)),
|
selectedIndexes.length)),
|
||||||
duration: k.snackBarDurationNormal,
|
duration: k.snackBarDurationNormal,
|
||||||
));
|
));
|
||||||
setState(() {
|
|
||||||
_album = newAlbum;
|
|
||||||
_transformItems();
|
|
||||||
initCover(widget.account, newAlbum);
|
|
||||||
});
|
|
||||||
}).catchError((e, stacktrace) {
|
}).catchError((e, stacktrace) {
|
||||||
_log.shout("[_onSelectionRemovePressed] Failed while updating album", e,
|
_log.shout("[_onSelectionRemovePressed] Failed while updating album", e,
|
||||||
stacktrace);
|
stacktrace);
|
||||||
|
|
Loading…
Reference in a new issue