Convert create backup dialog to a screen

Allows us more flexibility in adding more options/explanations in the future.
This commit is contained in:
arkon
2023-11-05 17:13:51 -05:00
parent 634ceeec50
commit 00b2853d3d
8 changed files with 209 additions and 174 deletions

View File

@ -21,6 +21,7 @@ fun LabeledCheckbox(
label: String,
checked: Boolean,
onCheckedChange: (Boolean) -> Unit,
enabled: Boolean = true,
) {
Row(
modifier = modifier
@ -37,6 +38,7 @@ fun LabeledCheckbox(
Checkbox(
checked = checked,
onCheckedChange = null,
enabled = enabled,
)
Text(text = label)