mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Improve emoji suggestions
This commit is contained in:
parent
da9abecce4
commit
b15d882d77
@ -19409,7 +19409,6 @@
|
|||||||
, "description": "A button (blood type)"
|
, "description": "A button (blood type)"
|
||||||
, "category": "Symbols"
|
, "category": "Symbols"
|
||||||
, "aliases": [
|
, "aliases": [
|
||||||
"a"
|
|
||||||
]
|
]
|
||||||
, "tags": [
|
, "tags": [
|
||||||
]
|
]
|
||||||
|
@ -371,8 +371,8 @@ class PersistentEmojiState : PersistentActionState {
|
|||||||
|
|
||||||
emojiAliases = HashMap<String, EmojiItem>().apply {
|
emojiAliases = HashMap<String, EmojiItem>().apply {
|
||||||
emojis.value!!.forEach { emoji ->
|
emojis.value!!.forEach { emoji ->
|
||||||
emoji.tags.forEach { put(it, emoji) }
|
emoji.tags.forEach { put(it.split("_").first(), emoji) }
|
||||||
emoji.aliases.forEach { put(it, emoji) }
|
emoji.aliases.forEach { put(it.split("_").first(), emoji) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user