aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/actions/editLocallyAction.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/actions/editLocallyAction.ts')
-rw-r--r--apps/files/src/actions/editLocallyAction.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files/src/actions/editLocallyAction.ts b/apps/files/src/actions/editLocallyAction.ts
index c8e6f295544..f52f8191df8 100644
--- a/apps/files/src/actions/editLocallyAction.ts
+++ b/apps/files/src/actions/editLocallyAction.ts
@@ -22,7 +22,7 @@
import { encodePath } from '@nextcloud/paths'
import { generateOcsUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'
-import { registerFileAction, FileAction, Permission, type Node } from '@nextcloud/files'
+import { FileAction, Permission, type Node } from '@nextcloud/files'
import { showError } from '@nextcloud/dialogs'
import { translate as t } from '@nextcloud/l10n'
import axios from '@nextcloud/axios'
@@ -66,7 +66,3 @@ export const action = new FileAction({
order: 25,
})
-
-if (!/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)) {
- registerFileAction(action)
-}