fix(theming): fix incorrectly inverted favicons

Signed-off-by: Simon L <szaimen@e.mail.de>
pull/44119/head
Simon L 9 months ago
parent 9b6424e5ca
commit 03d19f14a6
  1. 2
      apps/theming/lib/IconBuilder.php

@ -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