From ff9f9b574b98876b7ac0e60a05c02dc61d154d9e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 31 Mar 2024 18:11:45 +0800 Subject: [PATCH] :bug: Fix notify --- src/stores/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/notifications.ts b/src/stores/notifications.ts index d9a4316..eb3fa20 100644 --- a/src/stores/notifications.ts +++ b/src/stores/notifications.ts @@ -58,7 +58,7 @@ export const useNotifications = defineStore("notifications", () => { total.value++ if (Capacitor.getPlatform() === "web") { - new Notification(data["id"], { + new Notification(data["subject"], { body: data["subject"] }) } else {