Fallback to shuffleVideoId when radioVideoId is null in ArtistScreen (#90)

This commit is contained in:
vfsfitvnm
2022-07-07 15:01:48 +02:00
parent 5a5805dc84
commit fd4a1611e2

View File

@@ -205,7 +205,7 @@ fun ArtistScreen(
.clickable { .clickable {
binder?.playRadio( binder?.playRadio(
NavigationEndpoint.Endpoint.Watch( NavigationEndpoint.Endpoint.Watch(
videoId = artist.radioVideoId, videoId = artist.radioVideoId ?: artist.shuffleVideoId,
playlistId = artist.radioPlaylistId playlistId = artist.radioPlaylistId
) )
) )