]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(theming): fix incorrectly inverted favicons 44119/head
authorSimon L <szaimen@e.mail.de>
Mon, 11 Mar 2024 09:53:04 +0000 (10:53 +0100)
committerSimon L <szaimen@e.mail.de>
Mon, 11 Mar 2024 10:01:39 +0000 (11:01 +0100)
Signed-off-by: Simon L <szaimen@e.mail.de>
apps/theming/lib/IconBuilder.php

index 87a3de1024ca209f45a8f8addd685afe7fc11813..8d6546cdcce339bdb83c36c9b90db03657a00787 100644 (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"
                        ) {