diff options
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r-- | lib/Controller/PageController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index b4b0e99a..effb3e07 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com> @@ -37,7 +38,6 @@ use OCP\IConfig; use OCP\App\IAppManager; class PageController extends Controller { - protected $appName; /** @var IEventDispatcher */ @@ -62,7 +62,6 @@ class PageController extends Controller { $this->eventDispatcher = $eventDispatcher; $this->initialStateService = $initialStateService; $this->config = $config; - } /** @@ -79,7 +78,7 @@ class PageController extends Controller { $this->initialStateService->provideInitialState($this->appName, 'mimes', Application::MIMES); $this->initialStateService->provideInitialState($this->appName, 'maps', $this->appManager->isEnabledForUser('maps') === true); - Util::addScript($this->appName, 'photos'); + Util::addScript($this->appName, 'photos-main'); Util::addStyle($this->appName, 'icons'); $response = new TemplateResponse($this->appName, 'main'); |