RA-#1 Notifications: Badge Icon

This commit is contained in:
Timon Ostertun
2020-09-30 23:24:24 +02:00
parent a72c462483
commit 77ea57d643

View File

@@ -244,7 +244,7 @@ self.addEventListener('push', async function(event) {
data: data,
body: data.body,
icon: getEntry(data, 'icon', '<?php echo SERVER_ADDR; ?>/client/app/icons/icon-512x512.png'),
badge: '<?php echo SERVER_ADDR; ?>/client/app/icons/icon-96x96.png',
badge: '<?php echo SERVER_ADDR; ?>/client/app/icons/badge-128x128.png',
vibrate: [500,100,500]
};
if ((image = getEntry(data, 'image', null)) !== null) {