mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
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:
parent
e708c026bc
commit
26809444bd
237 changed files with 1291 additions and 1305 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue