diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-10-25 11:57:27 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-10-25 12:16:10 +0200 |
commit | d21ded67a70672cfa56a48051fa752b431118604 (patch) | |
tree | 5f29256f45dbb761f5cc1ea80dd7d9802114196b /apps/accessibility | |
parent | 0b2ef7e60873fbb2036a85a934bf1af23ebb5bc9 (diff) | |
download | nextcloud-server-d21ded67a70672cfa56a48051fa752b431118604.tar.gz nextcloud-server-d21ded67a70672cfa56a48051fa752b431118604.zip |
Keep list of icons in a separate file for use in the accessibility app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/accessibility')
-rw-r--r-- | apps/accessibility/lib/Controller/AccessibilityController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php index d679e37ed99..5a5ff5b8a2f 100644 --- a/apps/accessibility/lib/Controller/AccessibilityController.php +++ b/apps/accessibility/lib/Controller/AccessibilityController.php @@ -166,8 +166,8 @@ class AccessibilityController extends Controller { $appWebRoot = substr($this->appRoot, strlen($this->serverRoot) - strlen(\OC::$WEBROOT)); $css = $this->rebaseUrls($css, $appWebRoot . '/css'); - if (in_array('themedark', $userValues) && $this->iconsCacher->getCachedCSS() && $this->iconsCacher->getCachedCSS()->getSize() > 0) { - $iconsCss = $this->invertSvgIconsColor($this->iconsCacher->getCachedCSS()->getContent()); + if (in_array('themedark', $userValues) && $this->iconsCacher->getCachedList() && $this->iconsCacher->getCachedList()->getSize() > 0) { + $iconsCss = $this->invertSvgIconsColor($this->iconsCacher->getCachedList()->getContent()); $css = $css . $iconsCss; } |