From 39edbd22cca8b29fb7daa36b1b11e04f9f9a364f Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 5 Sep 2024 13:47:23 -0400 Subject: [PATCH] fixes #1058 language update issue --- .../amethyst/ui/screen/loggedIn/settings/AppSettingsScreen.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/settings/AppSettingsScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/settings/AppSettingsScreen.kt index 72da18f45..03727c61f 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/settings/AppSettingsScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/settings/AppSettingsScreen.kt @@ -52,7 +52,6 @@ import com.vitorpamplona.amethyst.model.parseBooleanType import com.vitorpamplona.amethyst.model.parseConnectivityType import com.vitorpamplona.amethyst.model.parseFeatureSetType import com.vitorpamplona.amethyst.model.parseThemeType -import com.vitorpamplona.amethyst.ui.checkLanguage import com.vitorpamplona.amethyst.ui.components.PushNotificationSettingsRow import com.vitorpamplona.amethyst.ui.navigation.INav import com.vitorpamplona.amethyst.ui.navigation.TopBarWithBackButton @@ -208,9 +207,6 @@ fun SettingsScreen(sharedPreferencesViewModel: SharedPreferencesViewModel) { languageIndex, ) { sharedPreferencesViewModel.updateLanguage(languageEntries[languageList[it].title]) - languageEntries[languageList[it].title]?.let { - checkLanguage(it) - } } Spacer(modifier = HalfVertSpacer)