From c01cc4aeb4a4e440b9013f49584ef6969fdebb6f Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 14 Sep 2023 18:31:51 +0200 Subject: [PATCH] Move developer settings and remove extra dividers. --- .../features/preferences/impl/root/PreferencesRootView.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootView.kt b/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootView.kt index c6d34c6969..16c7df6b51 100644 --- a/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootView.kt +++ b/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootView.kt @@ -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,