Skip to content

Commit f171138

Browse files
committed
feat: make NC34 compatible
AI-assisted-by: Claude Code (Sonnet 4.6) Signed-off-by: Anna Larch <anna@nextcloud.com>
1 parent 3f55268 commit f171138

7 files changed

Lines changed: 10859 additions & 5927 deletions

File tree

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
<screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/files_mindmap/master/screenshots/2-small.png">https://raw.githubusercontent.com/nextcloud/files_mindmap/master/screenshots/2.png</screenshot>
1919
<screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/files_mindmap/master/screenshots/3-small.png">https://raw.githubusercontent.com/nextcloud/files_mindmap/master/screenshots/3.png</screenshot>
2020
<dependencies>
21-
<nextcloud min-version="32" max-version="33"/>
21+
<nextcloud min-version="32" max-version="34"/>
2222
</dependencies>
2323
</info>

lib/AppInfo/Application.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace OCA\Files_MindMap\AppInfo;
44

5-
use OC\Files\Type\Detection;
65
use OCA\Files\Event\LoadAdditionalScriptsEvent;
76
use OCP\AppFramework\App;
87
use OCP\AppFramework\Bootstrap\IBootContext;
@@ -32,7 +31,7 @@ public function registerProvider() {
3231
$container = $this->getContainer();
3332

3433
// Register mimetypes
35-
/** @var Detection $detector */
34+
/** @var IMimeTypeDetector $detector */
3635
$detector = $container->get(IMimeTypeDetector::class);
3736
$detector->getAllMappings();
3837
$detector->registerType('km','application/km');

0 commit comments

Comments
 (0)