chore: cleanup

This commit is contained in:
Ushie 2022-08-16 05:17:13 +03:00
parent cdaec764cb
commit dc12414501
No known key found for this signature in database
GPG key ID: 0EF73F1CA38B2D5F
2 changed files with 4 additions and 4 deletions

View file

@ -174,12 +174,12 @@ fun SettingsScreen(
@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun SwitchSetting(
enabled: Boolean = true,
checked: Boolean,
icon: @Composable (() -> Unit)? = null,
title: @Composable () -> Unit,
description: @Composable (() -> Unit)? = null,
onCheckedChange: (Boolean) -> Unit,
enabled: Boolean = true
onCheckedChange: (Boolean) -> Unit
) {
ListItem(
modifier = Modifier.clickable { onCheckedChange(!checked) },
@ -260,7 +260,7 @@ fun GroupHeader(
contentAlignment = Alignment.CenterStart
) {
Text(
title,
text = title,
color = color,
fontSize = LocalTextStyle.current.fontSize.times(0.95f),
fontWeight = FontWeight.SemiBold

View file

@ -48,7 +48,7 @@
<string name="launch">Launch</string>
<string name="uninstall">Uninstall</string>
<string name="version">Version</string>
<string name="dynamic_color">Dynamic color</string>
<string name="dynamic_color">Dynamic color</string>
<string name="appearance">Appearance</string>
<string name="advanced">Advanced</string>
</resources>