diff --git a/package-lock.json b/package-lock.json
index 8e31c42eb..33b6efbdb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,7 +15,7 @@
"@nextcloud/axios": "^2.5.1",
"@nextcloud/dialogs": "^5.3.7",
"@nextcloud/event-bus": "^3.3.1",
- "@nextcloud/files": "^3.9.0",
+ "@nextcloud/files": "^3.10.0",
"@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^3.1.0",
"@nextcloud/logger": "^3.0.2",
@@ -1812,9 +1812,9 @@
}
},
"node_modules/@nextcloud/files": {
- "version": "3.9.1",
- "resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.9.1.tgz",
- "integrity": "sha512-eureE0Hi13QhC7detUUlp5B7NjLLu1JnVLDF0yuNv/My5ETbe3SuWjulAXQ2KH3lvqVjhjgbNoEjH5wHemIG+g==",
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.10.0.tgz",
+ "integrity": "sha512-VvucXNM+Ci/Ej1nK1UAboliiPpAY8az6cDDMoBWxgtfKRL7Q9I0aN2/nl4V9j2JaCm6E4TVWnKXlYDySMPNQKQ==",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@nextcloud/auth": "^2.4.0",
diff --git a/package.json b/package.json
index 188f96073..d7dc06973 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,7 @@
"@nextcloud/axios": "^2.5.1",
"@nextcloud/dialogs": "^5.3.7",
"@nextcloud/event-bus": "^3.3.1",
- "@nextcloud/files": "^3.9.0",
+ "@nextcloud/files": "^3.10.0",
"@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^3.1.0",
"@nextcloud/logger": "^3.0.2",
diff --git a/src/views/Viewer.vue b/src/views/Viewer.vue
index ada71c361..c0cd65b05 100644
--- a/src/views/Viewer.vue
+++ b/src/views/Viewer.vue
@@ -175,11 +175,11 @@