Notifications Icons Added

This commit is contained in:
JonatanRek
2019-12-31 23:05:19 +01:00
parent 2d7db196dd
commit 48fcd1a7c9
2 changed files with 15 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ class Ajax extends Template
$notificationData = [
'title' => 'Alert',
'body' => 'test notification',
'icon' => '',
'icon' => BASEDIR . '/app/templates/images/icon-192x192.png',
];
$notificationMng = new NotificationManager;
$subscribers = $notificationMng::getSubscription();