diff --git a/apps/profile/lib/Controller/ProfileApiController.php b/apps/profile/lib/Controller/ProfileApiController.php index 3a4aca44d3628..cd01e281951db 100644 --- a/apps/profile/lib/Controller/ProfileApiController.php +++ b/apps/profile/lib/Controller/ProfileApiController.php @@ -125,7 +125,8 @@ private function getSharedCalendarEvents(string $userId) { 'label' => $event['objects'][0]['SUMMARY'][0], 'text' => $this->formatter->formatTimeSpan($start, \DateTime::createFromImmutable($now)), 'href' => $href, - 'img' => $this->urlGenerator->getAbsoluteURL($this->appManager->getAppIcon('calendar')), + 'img' => $this->urlGenerator->getAbsoluteURL($this->appManager->getAppIcon('calendar', true)), + 'themedIcon' => true, ]; } return $result; diff --git a/apps/profile/lib/ResponseDefinitions.php b/apps/profile/lib/ResponseDefinitions.php index 5af937930f62f..edb9d9e64e982 100644 --- a/apps/profile/lib/ResponseDefinitions.php +++ b/apps/profile/lib/ResponseDefinitions.php @@ -14,7 +14,8 @@ * label: string, * text: string, * href: string, - * img: string + * img: string, + * themedIcon?: bool, * } */ class ResponseDefinitions { diff --git a/apps/profile/src/components/SharedResourcesSection.vue b/apps/profile/src/components/SharedResourcesSection.vue index f7902a52d87ef..f72018e6e0022 100644 --- a/apps/profile/src/components/SharedResourcesSection.vue +++ b/apps/profile/src/components/SharedResourcesSection.vue @@ -35,6 +35,7 @@ const title = computed(() => t('profile', 'You & {user}', { user: props.displayN