From 6541054cce964b7243d8779b54b168cda6741aff Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 27 Mar 2025 23:25:32 +0100 Subject: Remove symbols from the number row by default (#964) The number row option is changed into a ListPreference and controls whether the number row contains symbols or not. Co-authored-by: Joey Schaff --- srcs/juloo.keyboard2/KeyboardData.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'srcs/juloo.keyboard2/KeyboardData.java') diff --git a/srcs/juloo.keyboard2/KeyboardData.java b/srcs/juloo.keyboard2/KeyboardData.java index fd111bf..e4a7506 100644 --- a/srcs/juloo.keyboard2/KeyboardData.java +++ b/srcs/juloo.keyboard2/KeyboardData.java @@ -177,14 +177,9 @@ public final class KeyboardData private static Map _layoutCache = new HashMap(); - public static Row load_bottom_row(Resources res) throws Exception + public static Row load_row(Resources res, int res_id) throws Exception { - return parse_row(res.getXml(R.xml.bottom_row)); - } - - public static Row load_number_row(Resources res) throws Exception - { - return parse_row(res.getXml(R.xml.number_row)); + return parse_row(res.getXml(res_id)); } public static KeyboardData load_num_pad(Resources res) throws Exception -- cgit v1.2.3