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

Commit 16994368 authored by Anton Potapov's avatar Anton Potapov Committed by Android (Google) Code Review
Browse files

Merge "Fix buttons corners radius to align with the Spatial Audio button" into main

parents bd334257 0cf580c1
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)
                ) {