Skip to content

Commit

Permalink
Merge pull request #1620 from nextcloud/backport/1544/stable27
Browse files Browse the repository at this point in the history
[stable27] fix setIcon using svg
  • Loading branch information
blizzz authored Jul 2, 2024
2 parents 4a05145 + a1d609f commit ce32fba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Activity/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ private function initActivityParser(IEvent $event, array $params): void {
* @param IEvent $event
*/
private function setIcon(IEvent $event): void {
$path = $this->urlGenerator->imagePath(
Application::APP_ID,
'circles.' . $this->activityManager->getRequirePNG() ? 'png' : 'svg'
);
$path = $this->urlGenerator->imagePath(Application::APP_ID, 'circles.svg');
$event->setIcon($this->urlGenerator->getAbsoluteURL($path));
}

Expand Down

0 comments on commit ce32fba

Please sign in to comment.