mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: use OutlinedButtons in PreferenceFooter
This commit is contained in:
parent
88aa1c69a7
commit
6b93f86b52
1 changed files with 3 additions and 4 deletions
|
|
@ -41,11 +41,11 @@ fun PreferenceFooter(
|
|||
modifier = modifier
|
||||
.fillMaxWidth()
|
||||
.height(64.dp),
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
) {
|
||||
Button(
|
||||
OutlinedButton(
|
||||
modifier = modifier
|
||||
.fillMaxWidth()
|
||||
.height(48.dp)
|
||||
.weight(1f),
|
||||
enabled = enabled,
|
||||
|
|
@ -59,9 +59,8 @@ fun PreferenceFooter(
|
|||
style = MaterialTheme.typography.body1,
|
||||
)
|
||||
}
|
||||
Button(
|
||||
OutlinedButton(
|
||||
modifier = modifier
|
||||
.fillMaxWidth()
|
||||
.height(48.dp)
|
||||
.weight(1f),
|
||||
enabled = enabled,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue