Move developer settings and remove extra dividers.
This commit is contained in:
parent
2a217700e7
commit
8242654ebd
1 changed files with 3 additions and 5 deletions
|
|
@ -123,16 +123,14 @@ fun PreferencesRootView(
|
||||||
)
|
)
|
||||||
HorizontalDivider()
|
HorizontalDivider()
|
||||||
}
|
}
|
||||||
if (state.showDeveloperSettings) {
|
|
||||||
DeveloperPreferencesView(onOpenDeveloperSettings)
|
|
||||||
HorizontalDivider()
|
|
||||||
}
|
|
||||||
HorizontalDivider()
|
|
||||||
PreferenceText(
|
PreferenceText(
|
||||||
title = stringResource(id = CommonStrings.common_advanced_settings),
|
title = stringResource(id = CommonStrings.common_advanced_settings),
|
||||||
icon = Icons.Outlined.Settings,
|
icon = Icons.Outlined.Settings,
|
||||||
onClick = onOpenAdvancedSettings,
|
onClick = onOpenAdvancedSettings,
|
||||||
)
|
)
|
||||||
|
if (state.showDeveloperSettings) {
|
||||||
|
DeveloperPreferencesView(onOpenDeveloperSettings)
|
||||||
|
}
|
||||||
HorizontalDivider()
|
HorizontalDivider()
|
||||||
LogoutPreferenceView(
|
LogoutPreferenceView(
|
||||||
state = state.logoutState,
|
state = state.logoutState,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue