refactor: use `OutlinedButtons` in `PreferenceFooter`

pull/733/head
andrekir 2023-09-16 07:32:38 -03:00
rodzic 88aa1c69a7
commit 6b93f86b52
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -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,