mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Move developer settings and remove extra dividers.
This commit is contained in:
committed by
Benoit Marty
parent
93da8d419e
commit
c01cc4aeb4
+3
-5
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user