Update order on About screen

This commit is contained in:
Rafał Kobyłko 2024-08-12 00:14:24 +02:00
parent 02bfa95a30
commit fce6b00371

View File

@ -111,20 +111,6 @@ private fun ScreenContent(
item { SettingsDivider() }
item { SettingsHeader(title = TwLocale.strings.aboutSendCrashes) }
item {
SettingsSwitch(
title = TwLocale.strings.settingsSendCrashes,
subtitle = TwLocale.strings.settingsSendCrashesBody,
icon = TwIcons.Settings,
checked = uiState.appSettings.sendCrashLogs,
onCheckedChange = { onSendCrashLogsToggle() }
)
}
item { SettingsDivider() }
item { SettingsHeader(title = TwLocale.strings.aboutSocialMedia) }
item {
@ -199,6 +185,20 @@ private fun ScreenContent(
item { SettingsDivider() }
item { SettingsHeader(title = TwLocale.strings.aboutSendCrashes) }
item {
SettingsSwitch(
title = TwLocale.strings.settingsSendCrashes,
subtitle = TwLocale.strings.settingsSendCrashesBody,
icon = TwIcons.Settings,
checked = uiState.appSettings.sendCrashLogs,
onCheckedChange = { onSendCrashLogsToggle() }
)
}
item { SettingsDivider() }
item {
Row(
Modifier