From f4e839d0d5808aaaeb97f9c04e2d03d69c1c5257 Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Sat, 8 Oct 2022 18:52:50 +0200 Subject: [PATCH] Swap start radio and shuffle buttons in ArtistOverview --- .../vimusic/ui/screens/artist/ArtistOverview.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/artist/ArtistOverview.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/artist/ArtistOverview.kt index c49b373..7be6013 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/artist/ArtistOverview.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/artist/ArtistOverview.kt @@ -93,12 +93,12 @@ fun ArtistOverview( .padding(endPaddingValues) ) { headerContent { - youtubeArtistPage?.radioEndpoint?.let { radioEndpoint -> + youtubeArtistPage?.shuffleEndpoint?.let { endpoint -> SecondaryTextButton( - text = "Start radio", + text = "Shuffle", onClick = { binder?.stopRadio() - binder?.playRadio(radioEndpoint) + binder?.playRadio(endpoint) } ) } @@ -276,13 +276,13 @@ fun ArtistOverview( } } - youtubeArtistPage?.shuffleEndpoint?.let { shuffleEndpoint -> + youtubeArtistPage?.radioEndpoint?.let { endpoint -> FloatingActionsContainerWithScrollToTop( scrollState = scrollState, - iconId = R.drawable.shuffle, + iconId = R.drawable.radio, onClick = { binder?.stopRadio() - binder?.playRadio(shuffleEndpoint) + binder?.playRadio(endpoint) } ) }