From 1f3889a35fef0b232d5d175f231d6000d467ba4e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 18 Nov 2022 12:06:00 +0100 Subject: [PATCH] Fix notification icon color Signed-off-by: Joas Schilling --- img/app-dark.svg | 1 + lib/Notification/Notifier.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 img/app-dark.svg diff --git a/img/app-dark.svg b/img/app-dark.svg new file mode 100644 index 00000000000..c8110a163d8 --- /dev/null +++ b/img/app-dark.svg @@ -0,0 +1 @@ + diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 217d3879ae4..0a139ceb29e 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -111,7 +111,7 @@ public function prepare(INotification $notification, string $languageCode): INot default: throw new InvalidArgumentException(); } - $notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('text', 'app.svg'))); + $notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('text', 'app-dark.svg'))); $notification->setLink($fileLink); $this->setParsedSubjectFromRichSubject($notification); return $notification;