Browse Source

fix(theming): fix incorrectly inverted favicons

Signed-off-by: Simon L <szaimen@e.mail.de>
tags/v29.0.0beta2
Simon L 3 months ago
parent
commit
03d19f14a6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/theming/lib/IconBuilder.php

+ 1
- 1
apps/theming/lib/IconBuilder.php View File

@@ -181,7 +181,7 @@ class IconBuilder {
* invert app icons for bright primary colors
* the default nextcloud logo will not be inverted to black
*/
if ($this->util->invertTextColor($color)
if ($this->util->isBrightColor($color)
&& !$appIcon instanceof ISimpleFile
&& $app !== "core"
) {

Loading…
Cancel
Save