diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-07-03 09:52:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 09:52:00 +0300 |
commit | db97d913939683ac58d28258bd1e778dd1b3e0cb (patch) | |
tree | 90542c72f7d20e970a0f4617151126199ba39acb | |
parent | d0e6309a5ed89d2b7e20dbac5cd7e6f76fec332b (diff) | |
parent | 0ad0b3008329b989a4a0bbde04cf8f9be48bf7a2 (diff) |
Merge pull request #605 from nextcloud/backport/604/stable22v22.0.0
[stable22] Fix monochrome icon detection for correct dark mode invert
-rwxr-xr-x | js/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/script.js b/js/script.js index 06aebd90..8707c7b2 100755 --- a/js/script.js +++ b/js/script.js @@ -222,7 +222,7 @@ $(function(){ activity.link = ''; } - var monochromeIcon = activity.type !== 'file_created' && activity.type !== 'file_deleted' && activity.type !== 'favorite'; + var monochromeIcon = activity.type !== 'file_created' && activity.type !== 'file_deleted' && activity.type !== 'favorite' && !activity.icon.endsWith('-color.svg'); var content = '' + '<div class="activity box" data-activity-id="' + activity.activity_id + '">' + "\n" |