Anyone else trouble with showing :arrow_left: and ...
# compose-web
f
Anyone else trouble with showing ⬅️ and ➡️ emoji’s on Compose Wasm?
Copy code
val arrow = if (amountOwned == 0 && friendAmountOwned > 1) {
    "⬅\uFE0F"
} else if (amountOwned > 1 && friendAmountOwned == 0) {
    "➡\uFE0F"
} else {
    ""
}
I’ve copy-pasted the emoji’s from Emojipedia; It works on Desktop, but doesn’t render properly on Wasm (Google Chrome browser) Any ideas?
c
Do you use a font that includes these icons?
f
I don’t specifically set a font; So it must be using the default font. 🤔 Good one! I’ll look into that 👍 I’ll report back here, if setting a (different) font fixes the problem 🙂
o
try to use an emoji-font as a fallback. See the docs for details
👍 1