abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
diff options
context:
space:
mode:
authorJules Aguillon2025-07-01 23:27:24 +0200
committerGitHub2025-07-01 23:27:24 +0200
commita08db256611a66ca14e085fbd62a8fe352847e89 (patch)
treea275e252eb23239f7e2b10501328d5c7a71ca84e /srcs/juloo.keyboard2/Config.java
parent4ed8594794691e5991c414337fd4ede7a9e857cc (diff)
downloadunexpected-keyboard-a08db256611a66ca14e085fbd62a8fe352847e89.tar.gz
unexpected-keyboard-a08db256611a66ca14e085fbd62a8fe352847e89.zip
Fix extra bottom margin when navbar buttons absent (#1024)
* Fix extra bottom margin when navbar buttons absent Fix the extra space that was appearing when the gesture-navigation bar didn't contain the "switch IME" or "close IME" buttons. This was found on OneUI 7 with the two "keyboard key" related options turned off. * Remove unneeded nav bar detection and width computation
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
-rw-r--r--srcs/juloo.keyboard2/Config.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index b2b01da..eafb236 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -81,7 +81,6 @@ public final class Config
int current_layout_landscape;
int current_layout_unfolded_portrait;
int current_layout_unfolded_landscape;
- public int bottomInsetMin;
private Config(SharedPreferences prefs, Resources res, IKeyEventHandler h, Boolean foldableUnfolded)
{
@@ -176,8 +175,6 @@ public final class Config
current_layout_unfolded_landscape = _prefs.getInt("current_layout_unfolded_landscape", 0);
circle_sensitivity = Integer.valueOf(_prefs.getString("circle_sensitivity", "2"));
clipboard_history_enabled = _prefs.getBoolean("clipboard_history_enabled", false);
- bottomInsetMin = Utils.is_navigation_bar_gestural(res) ?
- (int)res.getDimension(R.dimen.bottom_inset_min) : 0;
}
public int get_current_layout()