fix(theming): fix incorrectly inverted favicons

Signed-off-by: Simon L <szaimen@e.mail.de>
pull/44119/head
Simon L 2024-03-11 10:53:04 +07:00
parent 9b6424e5ca
commit 03d19f14a6
1 changed files with 1 additions and 1 deletions

@ -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"
) {