From bb37c9466832d50be521acfde7279d48f2c8418b Mon Sep 17 00:00:00 2001 From: mattcarter11 <38189440+mattcarter11@users.noreply.github.com> Date: Sun, 22 Dec 2024 13:32:00 +0100 Subject: [PATCH] icon: remove icon round background (align with innertune) --- .../main/java/com/dd3boh/outertune/ui/player/Player.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/com/dd3boh/outertune/ui/player/Player.kt b/app/src/main/java/com/dd3boh/outertune/ui/player/Player.kt index 13ca3bbe1..234ebe0ba 100644 --- a/app/src/main/java/com/dd3boh/outertune/ui/player/Player.kt +++ b/app/src/main/java/com/dd3boh/outertune/ui/player/Player.kt @@ -242,12 +242,10 @@ fun BottomSheetPlayer( modifier = Modifier .offset(y = 5.dp) .size(36.dp) - .clip(RoundedCornerShape(24.dp)) - .background(MaterialTheme.colorScheme.primary) ) { ResizableIconButton( icon = if (currentSong?.song?.liked == true) R.drawable.favorite else R.drawable.favorite_border, - color = MaterialTheme.colorScheme.onPrimary, + color = if (currentSong?.song?.liked == true) MaterialTheme.colorScheme.error else onBackgroundColor, modifier = Modifier .align(Alignment.Center) .size(24.dp), @@ -261,12 +259,10 @@ fun BottomSheetPlayer( modifier = Modifier .offset(y = 5.dp) .size(36.dp) - .clip(RoundedCornerShape(24.dp)) - .background(MaterialTheme.colorScheme.primary) ) { ResizableIconButton( icon = Icons.Rounded.MoreVert, - color = MaterialTheme.colorScheme.onPrimary, + color = onBackgroundColor, modifier = Modifier .size(24.dp) .align(Alignment.Center),