fix(album): update albums previously cached with wrong api format
This commit is contained in:
parent
e5d03e7075
commit
0812665324
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ fun AlbumScreen(browseId: String) {
|
|||
.collect { (currentAlbum, tabIndex) ->
|
||||
album = currentAlbum
|
||||
|
||||
if (albumPage == null && (currentAlbum?.timestamp == null || tabIndex == 1)) {
|
||||
if (albumPage == null && (currentAlbum?.timestamp == null || currentAlbum.title == null || tabIndex == 1)) {
|
||||
withContext(Dispatchers.IO) {
|
||||
Innertube.albumPage(BrowseBody(browseId = browseId))
|
||||
?.onSuccess { currentAlbumPage ->
|
||||
|
|
Loading…
Reference in a new issue