diff --git a/Dockerfile b/Dockerfile index 629651cbe1dcdd4b4f3871695b4f0fe913b9bdcf..59dcfcab933e214c526776d2d1a9ee0543e77f7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -219,6 +219,7 @@ RUN patch -u ${BASE_DIR}/apps/dav/lib/Connector/Sabre/Principal.php -i ${TMP_PAT RUN patch -u ${BASE_DIR}/apps/dav/lib/HookManager.php -i ${TMP_PATCH_DIR}/028-default-task-calendar.patch RUN patch -u ${BASE_DIR}/apps/provisioning_api/lib/Controller/UsersController.php -i ${TMP_PATCH_DIR}/029-restrict-user-to-change-primary-email.patch RUN patch -u ${BASE_DIR}/lib/private/Security/VerificationToken/VerificationToken.php -i ${TMP_PATCH_DIR}/033-verification-token-private.patch +RUN patch -u ${BASE_DIR}/lib/private/NavigationManager.php -i ${TMP_PATCH_DIR}/034-app-svg-icon-fix.patch RUN rm -rf ${TMP_PATCH_DIR} RUN curl -fsSL -o ldap_write_support.tar.gz \ diff --git a/patches/034-app-svg-icon-fix.patch b/patches/034-app-svg-icon-fix.patch new file mode 100644 index 0000000000000000000000000000000000000000..daef05dc240fbcc7c0890d90ac2d42669f30c110 --- /dev/null +++ b/patches/034-app-svg-icon-fix.patch @@ -0,0 +1,13 @@ +--- ./volumes/nextcloud/html/lib/private/NavigationManager.php 2024-01-23 22:20:35 ++++ ./volumes/nextcloud/html/lib/private/NavigationManager-new.php 2024-01-23 22:21:44 +@@ -292,7 +292,9 @@ + if ($icon === null) { + $icon = $this->urlGenerator->imagePath('core', 'default-app-icon'); + } +- ++ if ($icon === 'app.svg') { ++ continue; ++ } + $this->add([ + 'id' => $id, + 'order' => $order,