From cb22014f823eac1a8dc11aec60771fd2d75ea9a4 Mon Sep 17 00:00:00 2001 From: KhooLy <73142442+KhooLy@users.noreply.github.com> Date: Tue, 28 Jul 2026 01:16:04 +0300 Subject: [PATCH] fix: restore missing switch-profiles row in Settings hub The action, i18n strings, and app-level routing to ProfileList already existed, but no row in the Settings hub ever called onSwitchProfiles, so there was no way to reach it from the UI. --- .../com/fluxa/app/shared/feature/settings/SettingsScreen.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/src/commonMain/kotlin/com/fluxa/app/shared/feature/settings/SettingsScreen.kt b/shared/src/commonMain/kotlin/com/fluxa/app/shared/feature/settings/SettingsScreen.kt index 71b35c8..bc010e5 100644 --- a/shared/src/commonMain/kotlin/com/fluxa/app/shared/feature/settings/SettingsScreen.kt +++ b/shared/src/commonMain/kotlin/com/fluxa/app/shared/feature/settings/SettingsScreen.kt @@ -350,6 +350,10 @@ private fun SettingsHubContent( modifier = Modifier.size(20.dp) ) } + SettingsNavRow( + AppStrings.t(lang, "settings.switch_profiles"), + icon = Icons.Filled.AccountCircle + ) { onSwitchProfiles() } } SettingsSectionHeader(AppStrings.t(lang, "settings.section_preferences"))