From 4ab1970c4358d6d70d2ab0301e4b6945c81a50da Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 22 Jan 2019 16:13:29 +0100 Subject: [PATCH] Make the yellow favorite icon non-monochrome Signed-off-by: Joas Schilling --- apps/files/lib/Activity/FavoriteProvider.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/files/lib/Activity/FavoriteProvider.php b/apps/files/lib/Activity/FavoriteProvider.php index 787978babed..3ad6b9bb834 100644 --- a/apps/files/lib/Activity/FavoriteProvider.php +++ b/apps/files/lib/Activity/FavoriteProvider.php @@ -106,6 +106,7 @@ class FavoriteProvider implements IProvider { $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/starred.svg'))); } } else if ($event->getSubject() === self::SUBJECT_REMOVED) { + $event->setType('unfavorite'); $event->setParsedSubject($this->l->t('Removed from favorites')); if ($this->activityManager->getRequirePNG()) { $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/star.png'))); @@ -136,6 +137,7 @@ class FavoriteProvider implements IProvider { $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/starred.svg'))); } } else if ($event->getSubject() === self::SUBJECT_REMOVED) { + $event->setType('unfavorite'); $subject = $this->l->t('You removed {file} from your favorites'); if ($this->activityManager->getRequirePNG()) { $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/star.png')));