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) ->
|
.collect { (currentAlbum, tabIndex) ->
|
||||||
album = currentAlbum
|
album = currentAlbum
|
||||||
|
|
||||||
if (albumPage == null && (currentAlbum?.timestamp == null || tabIndex == 1)) {
|
if (albumPage == null && (currentAlbum?.timestamp == null || currentAlbum.title == null || tabIndex == 1)) {
|
||||||
withContext(Dispatchers.IO) {
|
withContext(Dispatchers.IO) {
|
||||||
Innertube.albumPage(BrowseBody(browseId = browseId))
|
Innertube.albumPage(BrowseBody(browseId = browseId))
|
||||||
?.onSuccess { currentAlbumPage ->
|
?.onSuccess { currentAlbumPage ->
|
||||||
|
|
Loading…
Reference in a new issue