From 3d94f32bd53eff543c73281677c3db02c91396be Mon Sep 17 00:00:00 2001 From: Frederik Milling Pytlick <54995208+frederikpyt@users.noreply.github.com> Date: Tue, 1 Dec 2020 08:37:17 +0100 Subject: [PATCH] v1.5.2A - Notification fixes --- skolehjem/app/Notifications/PushNews.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skolehjem/app/Notifications/PushNews.php b/skolehjem/app/Notifications/PushNews.php index 745e75d..de4d6d6 100644 --- a/skolehjem/app/Notifications/PushNews.php +++ b/skolehjem/app/Notifications/PushNews.php @@ -34,7 +34,8 @@ class PushNews extends Notification ->title('Ny Nyhed') ->icon('/images/icons/appIcon.png') ->body('Der er en ny nyhed i ekapp\'en') - ->action('Se nyheder', 'root.index'); + ->badge('/images/icons/appIcon.png') + ->action('Se nyheder', route('root.index')); } /**