summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-01-22 16:13:29 +0100
committerJoas Schilling <coding@schilljs.com>2019-01-22 16:13:29 +0100
commit0ba9e3b8bd922167456cfb147ccfa4312030407b (patch)
tree98998d7c1b814986b042f74aa2363e9fbdab0a26 /apps
parent55cd35132494056a4102649591f862816ee7ab25 (diff)
downloadnextcloud-server-0ba9e3b8bd922167456cfb147ccfa4312030407b.tar.gz
nextcloud-server-0ba9e3b8bd922167456cfb147ccfa4312030407b.zip
Make the yellow favorite icon non-monochrome
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/lib/Activity/FavoriteProvider.php2
1 files changed, 2 insertions, 0 deletions
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')));