diff --git a/CHANGELOG.md b/CHANGELOG.md
index d59a7d6..09a11f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
## [Unreleased]
+## 3.10.0
+### Added
+* add compatibility with NC28
+### Fixed
+* fix NC28 error: remove deprecated method `OC_App::getNavigation()`
+
## 3.9.1
### Fixed
* fix fixed menu on dashboard (#262)
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 4acf6f4..65ba20e 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -32,7 +32,7 @@ Notice
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
]]>
- 3.9.1
+ 3.10.0
agpl
Simon Vieille
SideMenu
@@ -54,7 +54,7 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png
https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png
-
+
diff --git a/lib/Service/AppRepository.php b/lib/Service/AppRepository.php
index ce96107..ae865ce 100644
--- a/lib/Service/AppRepository.php
+++ b/lib/Service/AppRepository.php
@@ -3,6 +3,7 @@
namespace OCA\SideMenu\Service;
use OC\User\User;
+use OCP\INavigationManager;
use OCP\L10N\IFactory;
/**
@@ -34,6 +35,7 @@ class AppRepository
public function __construct(
\OC_App $ocApp,
+ protected INavigationManager $navigationManager,
IFactory $l10nFactory,
ConfigProxy $config,
CategoryRepository $categoryRepository
@@ -51,7 +53,7 @@ class AppRepository
*/
public function getVisibleApps()
{
- $navigation = $this->ocApp->getNavigation();
+ $navigation = $this->navigationManager->getAll();
$appCategoriesCustom = $this->config->getAppValueArray('apps-categories-custom', '[]');
$categories = $this->categoryRepository->getOrderedCategories();
$apps = $this->ocApp->listAllApps();