diff options
-rw-r--r-- | img/polls-black.svg | 7 | ||||
-rw-r--r-- | img/polls.svg | 7 | ||||
-rw-r--r-- | lib/Notification/Notifier.php | 2 |
3 files changed, 15 insertions, 1 deletions
diff --git a/img/polls-black.svg b/img/polls-black.svg new file mode 100644 index 00000000..acaf7958 --- /dev/null +++ b/img/polls-black.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 32 32"> + <g fill="#000"> + <rect y="2" x="3" height="26" width="7" /> + <rect y="12" x="12" height="16" width="7" /> + <rect y="8" x="21" height="20" width="7" /> + </g> +</svg> diff --git a/img/polls.svg b/img/polls.svg new file mode 100644 index 00000000..f94d056b --- /dev/null +++ b/img/polls.svg @@ -0,0 +1,7 @@ +<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 32 32"> + <g fill="#fff"> + <rect y="2" x="3" height="26" width="7" /> + <rect y="12" x="12" height="16" width="7" /> + <rect y="8" x="21" height="20" width="7" /> + </g> +</svg> diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index a0784d9e..87f604ed 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -85,7 +85,7 @@ class Notifier implements INotifier { if ($notification->getApp() !== 'polls') { throw new \InvalidArgumentException(); } - $notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('polls', 'app.svg'))); + $notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('polls', 'polls-black.svg'))); switch ($notification->getSubject()) { case 'invitation': $poll = $this->pollMapper->find(intval($notification->getObjectId())); |