diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9313a35..51ed6f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
## [Unreleased]
+## 2.3.2
+### Fixed
+- fix hidden menu
+
## 2.3.1
### Fixed
- fix #88: does not work with default menu
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 1fd345e..881366c 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -26,7 +26,7 @@ If you like this application and if you want to support the development:
* [Donate with liberapay](https://liberapay.com/deblan)
* [Leave a comment](https://apps.nextcloud.com/apps/side_menu#comments)
]]>
- 2.3.1
+ 2.3.2
agpl
Simon Vieille
SideMenu
diff --git a/lib/Controller/CssController.php b/lib/Controller/CssController.php
index b48c35c..028ac11 100644
--- a/lib/Controller/CssController.php
+++ b/lib/Controller/CssController.php
@@ -87,6 +87,7 @@ class CssController extends Controller
{
$isForced = $this->config->getAppValueBool('force', '0');
$topMenuApps = $this->config->getAppValueArray('top-menu-apps', '[]');
+ $topSideMenuApps = $this->config->getAppValueArray('top-side-menu-apps', '[]');
$isAccessibilityAppEnabled = $this->config->getAppValueBool('enabled', '0', 'accessibility');
$isBreezeDarkAppEnabled = $this->config->getAppValueBool('enabled', '0', 'breezedark');
@@ -94,11 +95,16 @@ class CssController extends Controller
if ($this->user) {
$userTopMenuApps = $this->config->getUserValueArray($this->user, 'top-menu-apps', '[]');
+ $userTopSideMenuApps = $this->config->getUserValueArray($this->user, 'top-side-menu-apps', '[]');
if (!empty($userTopMenuApps) && !$isForced) {
$topMenuApps = $userTopMenuApps;
}
+ if (!empty($userTopSideMenuApps) && !$isForced) {
+ $topSideMenuApps = $userTopSideMenuApps;
+ }
+
$isDarkThemeUserEnabled = $this->config->getUserValue($this->user, 'theme', '', 'accessibility') === 'dark';
$isBreezeDarkUserEnabled = $this->config->getUserValue($this->user, 'theme_enabled', '', 'breezedark');
@@ -162,6 +168,7 @@ class CssController extends Controller
'always-displayed' => $this->config->getAppValueBool('always-displayed', '0'),
'big-menu' => $this->config->getAppValueBool('big-menu', '0'),
'top-menu-apps' => $topMenuApps,
+ 'top-side-menu-apps' => $topSideMenuApps,
];
}
}
diff --git a/templates/css/stylesheet.php b/templates/css/stylesheet.php
index e8b6a7e..379fb42 100644
--- a/templates/css/stylesheet.php
+++ b/templates/css/stylesheet.php
@@ -8,7 +8,7 @@
}
-
+
#appmenu {
display: none;
}