Browse Source

Move developer settings and remove extra dividers.

pull/1329/head
Benoit Marty 1 year ago committed by Benoit Marty
parent
commit
c01cc4aeb4
  1. 8
      features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootView.kt

8
features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootView.kt

@ -123,16 +123,14 @@ fun PreferencesRootView( @@ -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,

Loading…
Cancel
Save