]> zoso.dev Git - nemo-wallet.git/commitdiff
Use code points instead of literal emojis for notifications.
authorChris Duncan <chris@zoso.dev>
Fri, 25 Oct 2024 04:56:29 +0000 (21:56 -0700)
committerChris Duncan <chris@zoso.dev>
Fri, 25 Oct 2024 04:56:29 +0000 (21:56 -0700)
app/pages/nemo-wallet.html

index ea82f61e9a0148115c22644107d8b80bb308e122..759d845201e72c55d3244e4d3c7afdb35d2211e4 100644 (file)
                                container.appendChild(notification)
                                notification.show()
                        },
-                       info: (msg) => notify._show(`ℹ️ ${msg}`),
-                       ok: (msg) => notify._show(`☑️ ${msg}`),
-                       error: (msg) => notify._show(`⚠️ ${msg}`, 'Gold')
+                       info: (msg) => notify._show(`${String.fromCodePoint(0x2139)}${String.fromCodePoint(0xFE0F)} ${msg}`),
+                       ok: (msg) => notify._show(`${String.fromCodePoint(0x2705)}${String.fromCodePoint(0xFE0F)} ${msg}`),
+                       error: (msg) => notify._show(`${String.fromCodePoint(0x26A0)}${String.fromCodePoint(0xFE0F)} ${msg}`)
                }
 
                function addToStorage (key, value) {