mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +03:00
parent
3712a35480
commit
0eb8b61a3d
2 changed files with 1 additions and 2 deletions
|
@ -58,7 +58,7 @@ object VectorLocale {
|
|||
fun init(context: Context) {
|
||||
val preferences = PreferenceManager.getDefaultSharedPreferences(context)
|
||||
|
||||
if (false && preferences.contains(APPLICATION_LOCALE_LANGUAGE_KEY)) {
|
||||
if (preferences.contains(APPLICATION_LOCALE_LANGUAGE_KEY)) {
|
||||
applicationLocale = Locale(preferences.getString(APPLICATION_LOCALE_LANGUAGE_KEY, "")!!,
|
||||
preferences.getString(APPLICATION_LOCALE_COUNTRY_KEY, "")!!,
|
||||
preferences.getString(APPLICATION_LOCALE_VARIANT_KEY, "")!!
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<im.vector.riotx.core.preference.VectorPreference
|
||||
android:dialogTitle="@string/settings_select_language"
|
||||
android:key="SETTINGS_INTERFACE_LANGUAGE_PREFERENCE_KEY"
|
||||
android:enabled="false"
|
||||
android:title="@string/settings_interface_language" />
|
||||
|
||||
<im.vector.riotx.core.preference.VectorListPreference
|
||||
|
|
Loading…
Add table
Reference in a new issue