Update button styling
All checks were successful
Build / build (push) Successful in 4m43s

This commit is contained in:
Tim Kluge 2025-05-29 14:09:24 +02:00
parent a08e4a9355
commit 50556dec31

View File

@ -352,7 +352,7 @@ fun DetailScreen(isCreating: Boolean, reminder: Reminder, onSubmit: (updatedRemi
horizontalArrangement = Arrangement.SpaceBetween
) {
Text(profileName)
Button(onClick = {
FilledTonalButton(onClick = {
enabledRideProfiles = enabledRideProfiles.toMutableSet().apply { remove(profileName) }
}) {
Icon(Icons.Default.Delete, contentDescription = "Delete profile")
@ -369,7 +369,7 @@ fun DetailScreen(isCreating: Boolean, reminder: Reminder, onSubmit: (updatedRemi
modifier = Modifier.fillMaxWidth(),
singleLine = true
)
Button(
FilledTonalButton(
onClick = {
if (newProfileName.isNotBlank()) {
enabledRideProfiles = enabledRideProfiles.toMutableSet().apply { add(newProfileName) }
@ -381,9 +381,7 @@ fun DetailScreen(isCreating: Boolean, reminder: Reminder, onSubmit: (updatedRemi
Text("Add Profile")
}
Spacer(modifier = Modifier.height(10.dp))
Button(
FilledTonalButton(
onClick = { rideProfileDialogVisible = false },
modifier = Modifier.fillMaxWidth()
) {