doc: add more help for the notifications

This commit is contained in:
2023-12-26 17:48:14 -07:00
parent ddbb700c34
commit 25b1598fcb
13 changed files with 171 additions and 50 deletions

View File

@@ -56,8 +56,7 @@ self.addEventListener("push", function (event) {
title = "Direct Message";
message = payload.message || "No details were provided.";
} else {
title =
payload && payload.title ? payload.title : "Unknown Notification";
title = payload && payload.title ? payload.title : "Note";
message = await self.getNotificationCount();
}
if (message) {