Cosmetic changess

This commit is contained in:
binwiederhier 2023-06-15 22:25:05 -04:00
parent b197ea3ab6
commit 6e95d62726
4 changed files with 65 additions and 45 deletions

View file

@ -1,5 +1,5 @@
import { playSound, topicDisplayName, topicShortUrl, urlB64ToUint8Array } from "./utils";
import { getNotificationParams } from "./notificationUtils";
import { toNotificationParams } from "./notificationUtils";
import prefs from "./Prefs";
import routes from "../components/routes";
@ -22,7 +22,7 @@ class Notifier {
const registration = await this.serviceWorkerRegistration();
await registration.showNotification(
...getNotificationParams({
...toNotificationParams({
subscriptionId: subscription.id,
message: notification,
defaultTitle,