From eb562b9d7fbc2fa26b71e6f5cb8b5c58c18d4524 Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Sun, 7 Aug 2022 22:39:19 +0200 Subject: [PATCH] Remove lyrics and stats for nerds buttons (#180) --- .../vfsfitvnm/vimusic/ui/views/PlayerView.kt | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt index 2aadc6e..f59d5c7 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt @@ -286,32 +286,6 @@ fun PlayerView( .padding(horizontal = 8.dp) .fillMaxHeight() ) { - Image( - painter = painterResource(R.drawable.text), - contentDescription = null, - colorFilter = ColorFilter.tint(if (isShowingLyrics) colorPalette.text else colorPalette.textDisabled), - modifier = Modifier - .clickable { - isShowingStatsForNerds = false - isShowingLyrics = !isShowingLyrics - } - .padding(all = 8.dp) - .size(20.dp) - ) - - Image( - painter = painterResource(R.drawable.information), - contentDescription = null, - colorFilter = ColorFilter.tint(if (isShowingStatsForNerds) colorPalette.text else colorPalette.textDisabled), - modifier = Modifier - .clickable { - isShowingLyrics = false - isShowingStatsForNerds = !isShowingStatsForNerds - } - .padding(all = 8.dp) - .size(20.dp) - ) - Image( painter = painterResource(R.drawable.ellipsis_horizontal), contentDescription = null, @@ -377,7 +351,7 @@ fun PlayerView( Spacer( modifier = Modifier - .width(2.dp) + .width(4.dp) ) } },