From febc23776fcf6c0a198cec442523cd0570999c15 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 10 Aug 2023 19:10:32 +0200 Subject: ListGroupPreference: Fix change items [Preference.onClick] is apparently not called on [Item]s, though it is on [AddButton]. Workaround this by listening on click events on the view. --- srcs/juloo.keyboard2/Logs.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'srcs/juloo.keyboard2/Logs.java') diff --git a/srcs/juloo.keyboard2/Logs.java b/srcs/juloo.keyboard2/Logs.java index c214296..a09c83f 100644 --- a/srcs/juloo.keyboard2/Logs.java +++ b/srcs/juloo.keyboard2/Logs.java @@ -26,4 +26,10 @@ public final class Logs _debug_logs.println("swapEnterActionKey: "+conf.swapEnterActionKey); _debug_logs.println("actionLabel: "+conf.actionLabel); } + + public static void debug(String s) + { + if (_debug_logs != null) + _debug_logs.println(s); + } } -- cgit v1.2.3