mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
rename LocaleKeyTexts, move some parts from LayoutInfos there
This commit is contained in:
parent
be9b438cca
commit
b4a223ae67
10 changed files with 63 additions and 58 deletions
|
@ -27,7 +27,7 @@ import androidx.core.content.ContextCompat;
|
|||
import androidx.preference.PreferenceManager;
|
||||
|
||||
import helium314.keyboard.keyboard.KeyboardTheme;
|
||||
import helium314.keyboard.keyboard.internal.keyboard_parser.LocaleKeyTextsKt;
|
||||
import helium314.keyboard.keyboard.internal.keyboard_parser.LocaleKeyboardInfosKt;
|
||||
import helium314.keyboard.latin.AudioAndHapticFeedbackManager;
|
||||
import helium314.keyboard.latin.InputAttributes;
|
||||
import helium314.keyboard.latin.R;
|
||||
|
@ -522,9 +522,9 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
|
|||
|
||||
public static int readMorePopupKeysPref(final SharedPreferences prefs) {
|
||||
return switch (prefs.getString(Settings.PREF_MORE_POPUP_KEYS, "normal")) {
|
||||
case "all" -> LocaleKeyTextsKt.POPUP_KEYS_ALL;
|
||||
case "more" -> LocaleKeyTextsKt.POPUP_KEYS_MORE;
|
||||
default -> LocaleKeyTextsKt.POPUP_KEYS_NORMAL;
|
||||
case "all" -> LocaleKeyboardInfosKt.POPUP_KEYS_ALL;
|
||||
case "more" -> LocaleKeyboardInfosKt.POPUP_KEYS_MORE;
|
||||
default -> LocaleKeyboardInfosKt.POPUP_KEYS_NORMAL;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue