Move developer settings and remove extra dividers.
This commit is contained in:
committed by
Benoit Marty
parent
2a217700e7
commit
8242654ebd
@@ -123,16 +123,14 @@ fun PreferencesRootView(
|
||||
)
|
||||
HorizontalDivider()
|
||||
}
|
||||
if (state.showDeveloperSettings) {
|
||||
DeveloperPreferencesView(onOpenDeveloperSettings)
|
||||
HorizontalDivider()
|
||||
}
|
||||
HorizontalDivider()
|
||||
PreferenceText(
|
||||
title = stringResource(id = CommonStrings.common_advanced_settings),
|
||||
icon = Icons.Outlined.Settings,
|
||||
onClick = onOpenAdvancedSettings,
|
||||
)
|
||||
if (state.showDeveloperSettings) {
|
||||
DeveloperPreferencesView(onOpenDeveloperSettings)
|
||||
}
|
||||
HorizontalDivider()
|
||||
LogoutPreferenceView(
|
||||
state = state.logoutState,
|
||||
|
||||
Reference in New Issue
Block a user