Fix minor radio bug
This commit is contained in:
@@ -159,7 +159,7 @@ fun ArtistScreen(
|
||||
colorFilter = ColorFilter.tint(colorPalette.text),
|
||||
modifier = Modifier
|
||||
.clickable {
|
||||
binder?.startRadio(artist.shuffleEndpoint)
|
||||
binder?.playRadio(artist.shuffleEndpoint)
|
||||
}
|
||||
.shadow(elevation = 2.dp, shape = CircleShape)
|
||||
.background(
|
||||
@@ -176,7 +176,7 @@ fun ArtistScreen(
|
||||
colorFilter = ColorFilter.tint(colorPalette.text),
|
||||
modifier = Modifier
|
||||
.clickable {
|
||||
binder?.startRadio(artist.radioEndpoint)
|
||||
binder?.playRadio(artist.radioEndpoint)
|
||||
}
|
||||
.shadow(elevation = 2.dp, shape = CircleShape)
|
||||
.background(
|
||||
|
||||
@@ -217,11 +217,11 @@ fun SearchResultScreen(
|
||||
is YouTube.Item.Playlist -> playlistOrAlbumRoute(item.info.endpoint!!.browseId)
|
||||
is YouTube.Item.Song -> {
|
||||
binder?.player?.forcePlay(item.asMediaItem)
|
||||
binder?.startRadio(item.info.endpoint)
|
||||
binder?.setupRadio(item.info.endpoint)
|
||||
}
|
||||
is YouTube.Item.Video -> {
|
||||
binder?.player?.forcePlay(item.asMediaItem)
|
||||
binder?.startRadio(item.info.endpoint)
|
||||
binder?.setupRadio(item.info.endpoint)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user