diff options
Diffstat (limited to 'apps/dav/lib/CalDAV/Activity/Provider/Calendar.php')
-rw-r--r-- | apps/dav/lib/CalDAV/Activity/Provider/Calendar.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php index d7730da61f4..6082e68dcd2 100644 --- a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php @@ -84,7 +84,11 @@ class Calendar extends Base { $this->l = $this->languageFactory->get('dav', $language); - $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.svg'))); + if ($this->activityManager->getRequirePNG()) { + $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.png'))); + } else { + $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.svg'))); + } if ($event->getSubject() === self::SUBJECT_ADD) { $subject = $this->l->t('{actor} created calendar {calendar}'); |