Clear SongAlbumMaps before upserting new album data

This commit is contained in:
vfsfitvnm
2022-10-26 12:40:13 +02:00
parent 2d632c19de
commit f4a55ff2ad
2 changed files with 5 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ fun AlbumScreen(browseId: String) {
?.onSuccess { currentAlbumPage ->
albumPage = currentAlbumPage
Database.clearAlbum(browseId)
Database.upsert(
Album(
id = browseId,