diff options
| author | Jules Aguillon | 2023-07-29 17:29:45 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2023-07-29 17:29:45 +0200 |
| commit | fce8ff7ce2920861804ccfd3e3e7cb0ff3165a33 (patch) | |
| tree | 0f870b212d01b51906e2d0c44af50b3ecbe7f531 /srcs/juloo.keyboard2/Config.java | |
| parent | d1f0d5a7bf99e36bb7c7aa082d208bb54e73c118 (diff) | |
| download | unexpected-keyboard-fce8ff7ce2920861804ccfd3e3e7cb0ff3165a33.tar.gz unexpected-keyboard-fce8ff7ce2920861804ccfd3e3e7cb0ff3165a33.zip | |
Add option to disable pin entry layout
The pin entry layout might be inferior for some usecases and people
might be more used to the numeric layout.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index c6b3ed4..09db10d 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -52,6 +52,7 @@ final class Config public int theme; // Values are R.style.* public boolean autocapitalisation; public boolean switch_input_immediate; + public boolean pin_entry_enabled; // Dynamically set public boolean shouldOfferSwitchingToNextInputMethod; @@ -157,6 +158,7 @@ final class Config switch_input_immediate = _prefs.getBoolean("switch_input_immediate", false); extra_keys_param = ExtraKeysPreference.get_extra_keys(_prefs); extra_keys_custom = CustomExtraKeysPreference.get(_prefs); + pin_entry_enabled = _prefs.getBoolean("pin_entry_enabled", true); } KeyValue action_key() |
