From eeec55c3693ce4f0d143c5a46b51023734485766 Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Mon, 26 Sep 2022 21:37:48 +0200 Subject: [PATCH] Change VerticalBar top button shape to circle --- .../it/vfsfitvnm/vimusic/ui/components/themed/VerticalBar.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/VerticalBar.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/VerticalBar.kt index 1eb24b0..ef9e254 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/VerticalBar.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/VerticalBar.kt @@ -8,7 +8,7 @@ import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.width -import androidx.compose.foundation.shape.RoundedCornerShape +import androidx.compose.foundation.shape.CircleShape import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier @@ -42,7 +42,7 @@ fun VerticalBar( contentDescription = null, colorFilter = ColorFilter.tint(colorPalette.textSecondary), modifier = Modifier - .clip(RoundedCornerShape(16.dp)) + .clip(CircleShape) .clickable(onClick = onTopIconButtonClick) .padding(all = 12.dp) .size(22.dp)