Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cf580c1 authored by Anton Potapov's avatar Anton Potapov
Browse files

Fix buttons corners radius to align with the Spatial Audio button

Flag: com.android.new_volume_panel
Test: atest VolumePanelScreenshotTest
Fixes: 346348638
Change-Id: I2f632e58274f86702ccbc7951ab32a380913bf2f
parent 8eb8696f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ class ButtonComponent(
                        } else {
                            MaterialTheme.colorScheme.surface
                        },
                    shape = RoundedCornerShape(28.dp),
                    shape = RoundedCornerShape(20.dp),
                    contentColor =
                        if (viewModel.isActive) {
                            MaterialTheme.colorScheme.onTertiaryContainer
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ class ToggleButtonComponent(
                            contentDescription = label
                        },
                    onClick = { onCheckedChange(!viewModel.isActive) },
                    shape = RoundedCornerShape(28.dp),
                    shape = RoundedCornerShape(20.dp),
                    colors = colors,
                    contentPadding = PaddingValues(0.dp)
                ) {