Update button styling
This commit is contained in:
parent
a08e4a9355
commit
0e7b543c9c
@ -352,7 +352,7 @@ fun DetailScreen(isCreating: Boolean, reminder: Reminder, onSubmit: (updatedRemi
|
|||||||
horizontalArrangement = Arrangement.SpaceBetween
|
horizontalArrangement = Arrangement.SpaceBetween
|
||||||
) {
|
) {
|
||||||
Text(profileName)
|
Text(profileName)
|
||||||
Button(onClick = {
|
FilledTonalButton(onClick = {
|
||||||
enabledRideProfiles = enabledRideProfiles.toMutableSet().apply { remove(profileName) }
|
enabledRideProfiles = enabledRideProfiles.toMutableSet().apply { remove(profileName) }
|
||||||
}) {
|
}) {
|
||||||
Icon(Icons.Default.Delete, contentDescription = "Delete profile")
|
Icon(Icons.Default.Delete, contentDescription = "Delete profile")
|
||||||
@ -369,7 +369,7 @@ fun DetailScreen(isCreating: Boolean, reminder: Reminder, onSubmit: (updatedRemi
|
|||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
singleLine = true
|
singleLine = true
|
||||||
)
|
)
|
||||||
Button(
|
FilledTonalButton(
|
||||||
onClick = {
|
onClick = {
|
||||||
if (newProfileName.isNotBlank()) {
|
if (newProfileName.isNotBlank()) {
|
||||||
enabledRideProfiles = enabledRideProfiles.toMutableSet().apply { add(newProfileName) }
|
enabledRideProfiles = enabledRideProfiles.toMutableSet().apply { add(newProfileName) }
|
||||||
@ -381,9 +381,7 @@ fun DetailScreen(isCreating: Boolean, reminder: Reminder, onSubmit: (updatedRemi
|
|||||||
Text("Add Profile")
|
Text("Add Profile")
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer(modifier = Modifier.height(10.dp))
|
FilledTonalButton(
|
||||||
|
|
||||||
Button(
|
|
||||||
onClick = { rideProfileDialogVisible = false },
|
onClick = { rideProfileDialogVisible = false },
|
||||||
modifier = Modifier.fillMaxWidth()
|
modifier = Modifier.fillMaxWidth()
|
||||||
) {
|
) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user