Skip to content

Commit

Permalink
Merge pull request #44119 from nextcloud/enh/noid/inverted-favicons
Browse files Browse the repository at this point in the history
fix(theming): fix incorrectly inverted favicons
  • Loading branch information
susnux authored Mar 11, 2024
2 parents 8ad8280 + 03d19f1 commit 53220d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/theming/lib/IconBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function renderAppIcon($app, $size) {
* 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"
) {
Expand Down

0 comments on commit 53220d0

Please sign in to comment.