Make the yellow favorite icon non-monochrome
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
55cd351324
commit
0ba9e3b8bd
1 changed files with 2 additions and 0 deletions
|
@ -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')));
|
||||
|
|
Loading…
Reference in a new issue