|
@@ -52,6 +52,21 @@ extension NCViewer {
|
|
|
)
|
|
|
}
|
|
|
|
|
|
+ //
|
|
|
+ // VIEW IN FOLDER
|
|
|
+ //
|
|
|
+ if !webView {
|
|
|
+ actions.append(
|
|
|
+ NCMenuAction(
|
|
|
+ title: NSLocalizedString("_view_in_folder_", comment: ""),
|
|
|
+ icon: NCUtility.shared.loadImage(named: "questionmark.folder"),
|
|
|
+ action: { menuAction in
|
|
|
+ NCActionCenter.shared.openFileViewInFolder(serverUrl: metadata.serverUrl, fileNameBlink: metadata.fileName, fileNameOpen: nil)
|
|
|
+ }
|
|
|
+ )
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
//
|
|
|
// FAVORITE
|
|
|
// Workaround: PROPPATCH doesn't work
|
|
@@ -190,21 +205,6 @@ extension NCViewer {
|
|
|
actions.append(.copyAction(selectOcId: [metadata.ocId], hudView: viewController.view))
|
|
|
}
|
|
|
|
|
|
- //
|
|
|
- // VIEW IN FOLDER
|
|
|
- //
|
|
|
- if !webView {
|
|
|
- actions.append(
|
|
|
- NCMenuAction(
|
|
|
- title: NSLocalizedString("_view_in_folder_", comment: ""),
|
|
|
- icon: NCUtility.shared.loadImage(named: "arrow.forward.square"),
|
|
|
- action: { menuAction in
|
|
|
- NCActionCenter.shared.openFileViewInFolder(serverUrl: metadata.serverUrl, fileNameBlink: metadata.fileName, fileNameOpen: nil)
|
|
|
- }
|
|
|
- )
|
|
|
- )
|
|
|
- }
|
|
|
-
|
|
|
//
|
|
|
// DOWNLOAD IMAGE MAX RESOLUTION
|
|
|
//
|