Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-11 12:25:41 +0300
committerJulius Härtl <jus@bitgrid.net>2019-06-11 12:25:41 +0300
commitce74e603cdffaa422651cfdc3ce47d9c58d98dc4 (patch)
treed40cacf23685427ee9f3298cc16c3ca8a20d9ed2 /appinfo
parent5d8afd3290d5e0d3efecc6a61bdd53e1be63dc91 (diff)
Fix icons on dark mode (closes #34)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 2487dd64a..935ac66aa 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -9,9 +9,11 @@ $eventDispatcher = \OC::$server->getEventDispatcher();
if (\OC::$server->getUserSession()->isLoggedIn()) {
$eventDispatcher->addListener('OCA\Files::loadAdditionalScripts', function () {
\OCP\Util::addScript('text', 'files');
+ \OCP\Util::addStyle('text', 'icons');
});
}
$eventDispatcher->addListener('OCA\Files_Sharing::loadAdditionalScripts', function () {
\OCP\Util::addScript('text', 'public');
+ \OCP\Util::addStyle('text', 'icons');
});