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

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-11-28 19:49:02 +0300
committerJulius Härtl <jus@bitgrid.net>2021-11-29 20:33:50 +0300
commitcaf8284d4f2494f8a4d4461efa29212b2e2eba67 (patch)
tree56eac2352300c03163dbf9f58de97d7506ef0fcf /lib
parentd0b1289daadf1fc2fce1381d3da9b072d7153a0f (diff)
Use nextcloud theme
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/TDocumentInitialState.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/TDocumentInitialState.php b/lib/Controller/TDocumentInitialState.php
index bfd1070f..5c8d9e0f 100644
--- a/lib/Controller/TDocumentInitialState.php
+++ b/lib/Controller/TDocumentInitialState.php
@@ -32,7 +32,7 @@ trait TDocumentInitialState {
private function provideDocumentInitialState(Wopi $wopi): void {
$this->initialState->provideInitialState('wopi', $wopi);
- $this->initialState->provideInitialState('theme', $this->config->getAppValue(Application::APPNAME, 'theme', ''));
+ $this->initialState->provideInitialState('theme', $this->config->getAppValue(Application::APPNAME, 'theme', 'nextcloud'));
$this->initialState->provideInitialState('uiDefaults', [
'UIMode' => $this->config->getAppValue(Application::APPNAME, 'uiDefaults-UIMode', 'classic')
]);