From: Chris Duncan Date: Fri, 25 Oct 2024 04:56:29 +0000 (-0700) Subject: Use code points instead of literal emojis for notifications. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=eb1d14d27436c92e3a21a6521f7ae300dff4e380;p=nemo-wallet.git Use code points instead of literal emojis for notifications. --- diff --git a/app/pages/nemo-wallet.html b/app/pages/nemo-wallet.html index ea82f61..759d845 100644 --- a/app/pages/nemo-wallet.html +++ b/app/pages/nemo-wallet.html @@ -117,9 +117,9 @@ 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) {