Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(theming): fix incorrectly inverted favicons
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Mar 11, 2024
commit 03d19f14a64592999998dea20571cae065cd17cf
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