|
@@ -169,7 +169,7 @@ class NCViewerRichdocument: WKWebView, WKNavigationDelegate, WKScriptMessageHand
|
|
|
} else {
|
|
|
self.documentInteractionController = UIDocumentInteractionController()
|
|
|
self.documentInteractionController.url = URL(fileURLWithPath: item)
|
|
|
- self.documentInteractionController.presentOptionsMenu(from: self.appDelegate.window.rootViewController!.view.bounds, in: self.appDelegate.window.rootViewController!.view, animated: true)
|
|
|
+ self.documentInteractionController.presentOptionsMenu(from: CGRect.zero, in: self.appDelegate.window.rootViewController!.view, animated: true)
|
|
|
}
|
|
|
} else {
|
|
|
NCContentPresenter.shared.messageNotification("_error_", description: errorDescription, delay: TimeInterval(k_dismissAfterSecond), type: NCContentPresenter.messageType.error, errorCode: errorCode)
|