From 41da638fc183b82be62e8dfae2f20750a87ffaf4 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 17 Aug 2022 10:21:39 +0200 Subject: Implement isRecognizeInstalled check Signed-off-by: Marcel Klehr --- lib/Controller/PageController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index ddfbc50f..ac8deacb 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -104,6 +104,7 @@ class PageController extends Controller { $this->initialStateService->provideInitialState($this->appName, 'image-mimes', Application::IMAGE_MIMES); $this->initialStateService->provideInitialState($this->appName, 'video-mimes', Application::VIDEO_MIMES); $this->initialStateService->provideInitialState($this->appName, 'maps', $this->appManager->isEnabledForUser('maps') === true); + $this->initialStateService->provideInitialState($this->appName, 'recognize', $this->appManager->isEnabledForUser('recognize') === true); $this->initialStateService->provideInitialState($this->appName, 'croppedLayout', $this->config->getUserValue($user->getUid(), Application::APP_ID, 'croppedLayout', 'false')); $this->initialStateService->provideInitialState($this->appName, 'systemtags', $this->appManager->isEnabledForUser('systemtags') === true); -- cgit v1.2.3