abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/EmojiKeyButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/juloo.keyboard2/EmojiKeyButton.java')
-rw-r--r--srcs/juloo.keyboard2/EmojiKeyButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/juloo.keyboard2/EmojiKeyButton.java b/srcs/juloo.keyboard2/EmojiKeyButton.java
index 00a9a69..de9f206 100644
--- a/srcs/juloo.keyboard2/EmojiKeyButton.java
+++ b/srcs/juloo.keyboard2/EmojiKeyButton.java
@@ -15,8 +15,8 @@ public class EmojiKeyButton extends Button
super(context, attrs);
setOnClickListener(this);
_key = KeyValue.getKeyByName(attrs.getAttributeValue(null, "key"));
- setText(_key.getSymbol(0));
- if ((_key.getFlags() & KeyValue.FLAG_KEY_FONT) != 0)
+ setText(_key.symbol);
+ if ((_key.flags & KeyValue.FLAG_KEY_FONT) != 0)
setTypeface(((Keyboard2)context).getSpecialKeyFont());
}