wip: native notification

This commit is contained in:
Ren Amamiya
2023-05-30 15:33:27 +07:00
parent b856c2b8b5
commit 1e5bd7e21f
7 changed files with 59 additions and 18 deletions

View File

@@ -11,6 +11,6 @@ export async function sendNativeNotification(content: string) {
permissionGranted = permission === "granted";
}
if (permissionGranted) {
sendNotification({ title: "TAURI", body: content });
sendNotification({ title: "Lume", body: content });
}
}