rename more keys to popup keys

user-facing name is already popup keys, now internal rename is done to avoid confusion and for consistency
This commit is contained in:
Helium314 2024-02-05 09:33:06 +01:00
parent e708c026bc
commit 26809444bd
237 changed files with 1291 additions and 1305 deletions

View file

@ -508,11 +508,11 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
prefs.edit().putString(Settings.PREF_PINNED_TOOLBAR_KEYS, ToolbarUtilsKt.toToolbarKeyString(keys)).apply();
}
public static int readMoreMoreKeysPref(final SharedPreferences prefs) {
public static int readMorePopupKeysPref(final SharedPreferences prefs) {
return switch (prefs.getString(Settings.PREF_MORE_POPUP_KEYS, "normal")) {
case "all" -> LocaleKeyTextsKt.MORE_KEYS_ALL;
case "more" -> LocaleKeyTextsKt.MORE_KEYS_MORE;
default -> LocaleKeyTextsKt.MORE_KEYS_NORMAL;
case "all" -> LocaleKeyTextsKt.POPUP_KEYS_ALL;
case "more" -> LocaleKeyTextsKt.POPUP_KEYS_MORE;
default -> LocaleKeyTextsKt.POPUP_KEYS_NORMAL;
};
}