add another option to the "more letters with diacritics" settings

with letters that used to be default in many languages
now this setting is default
This commit is contained in:
Helium314 2024-07-12 20:55:38 +02:00
parent d7d47670a7
commit 5378d8d0a3
9 changed files with 14 additions and 15 deletions

View file

@ -507,10 +507,11 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
}
public static int readMorePopupKeysPref(final SharedPreferences prefs) {
return switch (prefs.getString(Settings.PREF_MORE_POPUP_KEYS, "normal")) {
return switch (prefs.getString(Settings.PREF_MORE_POPUP_KEYS, "main")) {
case "all" -> LocaleKeyboardInfosKt.POPUP_KEYS_ALL;
case "more" -> LocaleKeyboardInfosKt.POPUP_KEYS_MORE;
default -> LocaleKeyboardInfosKt.POPUP_KEYS_NORMAL;
case "normal" -> LocaleKeyboardInfosKt.POPUP_KEYS_NORMAL;
default -> LocaleKeyboardInfosKt.POPUP_KEYS_MAIN;
};
}