Fixing for emoji families

This commit is contained in:
Vitor Pamplona
2023-07-06 17:36:11 -04:00
parent 64d96ab1d7
commit 84600c016e
2 changed files with 7 additions and 1 deletions
@@ -41,7 +41,8 @@ fun String.firstFullChar(): String {
start = next
} else {
// If join, searches for the next char
if (codePoint == 0x200D) {
if (codePoint == 0xFE0F) {
} else if (codePoint == 0x200D) {
isInJoin = true
} else {
// stops when two chars are not joined together