diff options
Diffstat (limited to 'srcs/juloo.keyboard2/EmojiKeyButton.java')
| -rw-r--r-- | srcs/juloo.keyboard2/EmojiKeyButton.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/srcs/juloo.keyboard2/EmojiKeyButton.java b/srcs/juloo.keyboard2/EmojiKeyButton.java index 3f86b1b..6f662b4 100644 --- a/srcs/juloo.keyboard2/EmojiKeyButton.java +++ b/srcs/juloo.keyboard2/EmojiKeyButton.java @@ -22,8 +22,7 @@ public class EmojiKeyButton extends Button public void onClick(View v) { - Keyboard2 main = (Keyboard2)getContext(); - - main.handleKeyUp(_key, 0); + Config config = Config.globalConfig(); + config.handler.handleKeyUp(_key, 0); } } |
