fix args type
This commit is contained in:
parent
12c115d6d6
commit
9d2eab42d8
|
@ -89,9 +89,9 @@ class CssController extends Controller
|
||||||
'icon-invert-filter' => abs($this->config->getAppValueInt('icon-invert-filter', '0')).'%',
|
'icon-invert-filter' => abs($this->config->getAppValueInt('icon-invert-filter', '0')).'%',
|
||||||
'icon-opacity' => abs($this->config->getAppValueInt('icon-opacity', '100') / 100),
|
'icon-opacity' => abs($this->config->getAppValueInt('icon-opacity', '100') / 100),
|
||||||
],
|
],
|
||||||
'display-logo' => $this->config->getAppValueBool('display-logo', 1),
|
'display-logo' => $this->config->getAppValueBool('display-logo', '1'),
|
||||||
'opener-only' => $this->config->getAppValueBool('opener-only', 0),
|
'opener-only' => $this->config->getAppValueBool('opener-only', '0'),
|
||||||
'external-sites-in-top-menu' => $this->config->getAppValueBool('external-sites-in-top-menu', 0),
|
'external-sites-in-top-menu' => $this->config->getAppValueBool('external-sites-in-top-menu', '0'),
|
||||||
'size-icon' => $this->config->getAppValue('size-icon', 'normal'),
|
'size-icon' => $this->config->getAppValue('size-icon', 'normal'),
|
||||||
'size-text' => $this->config->getAppValue('size-text', 'normal'),
|
'size-text' => $this->config->getAppValue('size-text', 'normal'),
|
||||||
'always-displayed' => $this->config->getAppValueBool('always-displayed', '0'),
|
'always-displayed' => $this->config->getAppValueBool('always-displayed', '0'),
|
||||||
|
|
|
@ -116,7 +116,7 @@ class JsController extends Controller
|
||||||
return [
|
return [
|
||||||
'opener-position' => $this->config->getAppValue('opener-position', 'before'),
|
'opener-position' => $this->config->getAppValue('opener-position', 'before'),
|
||||||
'opener-hover' => $this->config->getAppValueBool('opener-hover', '0'),
|
'opener-hover' => $this->config->getAppValueBool('opener-hover', '0'),
|
||||||
'external-sites-in-top-menu' => $this->config->getAppValueBool('external-sites-in-top-menu', 0),
|
'external-sites-in-top-menu' => $this->config->getAppValueBool('external-sites-in-top-menu', '0'),
|
||||||
'force-light-icon' => $this->config->getAppValueBool('force-light-icon', '0'),
|
'force-light-icon' => $this->config->getAppValueBool('force-light-icon', '0'),
|
||||||
'hide-when-no-apps' => $this->config->getAppValueBool('hide-when-no-apps', '0'),
|
'hide-when-no-apps' => $this->config->getAppValueBool('hide-when-no-apps', '0'),
|
||||||
'loader-enabled' => $this->config->getAppValueBool('loader-enabled', '1'),
|
'loader-enabled' => $this->config->getAppValueBool('loader-enabled', '1'),
|
||||||
|
|
|
@ -88,7 +88,7 @@ class NavController extends Controller
|
||||||
$apps = $this->appRepository->getVisibleApps();
|
$apps = $this->appRepository->getVisibleApps();
|
||||||
$currentLanguage = substr($this->l10nFactory->findLanguage(), 0, 2);
|
$currentLanguage = substr($this->l10nFactory->findLanguage(), 0, 2);
|
||||||
$categoriesLabels = $this->categoryFetcher->get();
|
$categoriesLabels = $this->categoryFetcher->get();
|
||||||
$externalSitesInTopMenu = $this->config->getAppValueBool('external-sites-in-top-menu', 0);
|
$externalSitesInTopMenu = $this->config->getAppValueBool('external-sites-in-top-menu', '0');
|
||||||
$user = OC::$server[IUserSession::class]->getUser();
|
$user = OC::$server[IUserSession::class]->getUser();
|
||||||
$appsCategories = [];
|
$appsCategories = [];
|
||||||
$categoriesAppsCount = [];
|
$categoriesAppsCount = [];
|
||||||
|
|
Loading…
Reference in a new issue