diff options
author | Marcel Klehr <mklehr@gmx.net> | 2022-08-17 11:21:39 +0300 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2022-08-23 15:30:18 +0300 |
commit | 41da638fc183b82be62e8dfae2f20750a87ffaf4 (patch) | |
tree | b9f352d3ebbeab54ea629604441ac2cbaffbc53f /lib | |
parent | e2101b4240de976e89574e63b378047f2a683379 (diff) |
Implement isRecognizeInstalled check
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/PageController.php | 1 |
1 files changed, 1 insertions, 0 deletions
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); |