Fix cover not updated after updating album

This commit is contained in:
Ming Ming 2021-06-14 21:24:57 +08:00
parent 51936926cc
commit 84ec93b95e

View file

@ -240,6 +240,7 @@ class _AlbumViewerState extends State<AlbumViewer>
setState(() { setState(() {
_album = newAlbum; _album = newAlbum;
_transformItems(); _transformItems();
_initCover();
}); });
}).catchError((e, stacktrace) { }).catchError((e, stacktrace) {
_log.shout("[_onSelectionRemovePressed] Failed while updating album", e, _log.shout("[_onSelectionRemovePressed] Failed while updating album", e,