diff options
| author | Jules Aguillon | 2021-04-18 00:55:31 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2021-04-18 00:55:31 +0200 |
| commit | f8bce500ff3f870e6eadae591541a1210e458cff (patch) | |
| tree | 168adda0641f5f90a29c295cc3f8317db96bacb7 /srcs/juloo.keyboard2/Config.java | |
| parent | 1421bccc7b6588484fcf02517d35c98bbd05f6c4 (diff) | |
| download | unexpected-keyboard-f8bce500ff3f870e6eadae591541a1210e458cff.tar.gz unexpected-keyboard-f8bce500ff3f870e6eadae591541a1210e458cff.zip | |
Hide the input switching key if it's not needed
Android has a new way of switching between input methods and this key
need to be hidden in most cases.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 20e0311..366cc0c 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -24,6 +24,8 @@ class Config public float horizontalMargin; public boolean disableAccentKeys; + public boolean shouldOfferSwitchingToNextInputMethod; + public Config(Keyboard2 context) { Resources res = context.getResources(); @@ -46,6 +48,8 @@ class Config disableAccentKeys = false; // from prefs refresh(); + // initialized later + shouldOfferSwitchingToNextInputMethod = false; } /* |
