From 55d043788b0ae15e8fad84094d7e9f10c6b1e9c1 Mon Sep 17 00:00:00 2001 From: Timur Gilfanov Date: Thu, 26 Mar 2026 09:08:45 +0400 Subject: [PATCH] Reorder theme options in AdvancedSettingsState --- .../impl/advanced/AdvancedSettingsState.kt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/advanced/AdvancedSettingsState.kt b/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/advanced/AdvancedSettingsState.kt index be443e905b..7cb9e9ce86 100644 --- a/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/advanced/AdvancedSettingsState.kt +++ b/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/advanced/AdvancedSettingsState.kt @@ -43,6 +43,13 @@ enum class ThemeOption : DropdownOption { @ReadOnlyComposable override fun getText(): String = stringResource(CommonStrings.common_system) }, + + Light { + @Composable + @ReadOnlyComposable + override fun getText(): String = stringResource(CommonStrings.common_light) + }, + Dark { @Composable @ReadOnlyComposable @@ -53,11 +60,5 @@ enum class ThemeOption : DropdownOption { @Composable @ReadOnlyComposable override fun getText(): String = stringResource(CommonStrings.common_black) - }, - - Light { - @Composable - @ReadOnlyComposable - override fun getText(): String = stringResource(CommonStrings.common_light) } }