diff --git a/package.json b/package.json index bc4e090..61d0e94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mono-pwa", - "version": "3.4.0", + "version": "3.4.1", "description": "monobank PWA", "main": "index.html", "config": { diff --git a/src/app/modules/mono/services/Push/SWScript.js b/src/app/modules/mono/services/Push/SWScript.js index 81d5b3b..340b319 100644 --- a/src/app/modules/mono/services/Push/SWScript.js +++ b/src/app/modules/mono/services/Push/SWScript.js @@ -341,6 +341,8 @@ self.addEventListener("push", async (event) => { emoji = data.item.amount < 0 ? "💳👉" : "💳👈" } else emoji = getMCCEmoji(data.item.mcc) + if (!emoji) emoji = "💸" + registration.showNotification( `${emoji} ${spentPart}`, {