Beautify
This commit is contained in:
parent
041e58a038
commit
0154d6c364
|
|
@ -48,7 +48,7 @@ fun SettingsSlot(
|
|||
)
|
||||
}
|
||||
}
|
||||
Column(Modifier.weight(1f)) {
|
||||
Column(Modifier.weight(1f).padding(vertical = 6.dp)) {
|
||||
Text(text = title, style = MaterialTheme.typography.titleMedium)
|
||||
Column {
|
||||
if (desc != null) {
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ private val device = buildString {
|
|||
private fun InfoCard(snackbarHostState: SnackbarHostState) {
|
||||
val context = LocalContext.current
|
||||
val scope = rememberCoroutineScope()
|
||||
Card {
|
||||
ElevatedCard {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
|
|
@ -128,7 +128,7 @@ private fun InfoCard(snackbarHostState: SnackbarHostState) {
|
|||
@Preview
|
||||
@Composable
|
||||
private fun SupportCard() {
|
||||
Card {
|
||||
ElevatedCard {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
|
|
|
|||
|
|
@ -228,6 +228,7 @@ private fun PatchOptionsBody(
|
|||
)
|
||||
}
|
||||
SettingsCheckBox(
|
||||
modifier = Modifier.padding(top = 6.dp),
|
||||
checked = viewModel.debuggable,
|
||||
onClick = { viewModel.debuggable = !viewModel.debuggable },
|
||||
icon = Icons.Outlined.BugReport,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ enum class PageList(
|
|||
val arguments: List<NamedNavArgument> = emptyList(),
|
||||
val body: @Composable NavBackStackEntry.() -> Unit
|
||||
) {
|
||||
|
||||
Repo(
|
||||
iconSelected = Icons.Filled.GetApp,
|
||||
iconNotSelected = Icons.Outlined.GetApp,
|
||||
|
|
|
|||
Loading…
Reference in New Issue