summaryrefslogtreecommitdiffstats
path: root/apps/accessibility
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-04 11:29:33 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-19 08:16:59 +0200
commitcd6f00a1029f6ce6900a80c7af8121e4449855c0 (patch)
tree86ec52db55ec34d789b09db4ceb99b26565e1b3a /apps/accessibility
parenta24cad1a1cdce76ae77af889181f20f6eb38b0c9 (diff)
downloadnextcloud-server-cd6f00a1029f6ce6900a80c7af8121e4449855c0.tar.gz
nextcloud-server-cd6f00a1029f6ce6900a80c7af8121e4449855c0.zip
Only dark
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/accessibility')
-rw-r--r--apps/accessibility/lib/Controller/AccessibilityController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php
index fa82f17e9d4..4ee88b90a7a 100644
--- a/apps/accessibility/lib/Controller/AccessibilityController.php
+++ b/apps/accessibility/lib/Controller/AccessibilityController.php
@@ -155,7 +155,7 @@ class AccessibilityController extends Controller {
$appWebRoot = substr($this->appRoot, strlen($this->serverRoot) - strlen(\OC::$WEBROOT));
$css = $this->rebaseUrls($css, $appWebRoot . '/css');
- if ($this->iconsCacher->getCachedCSS() && $this->iconsCacher->getCachedCSS()->getSize() > 0) {
+ if (in_array('themedark', $userValues) && $this->iconsCacher->getCachedCSS() && $this->iconsCacher->getCachedCSS()->getSize() > 0) {
$iconsCss = $this->invertSvgIconsColor($this->iconsCacher->getCachedCSS()->getContent());
$css = $css . $iconsCss;
}