marinofaggiana 4 年之前
父节点
当前提交
eaa31800d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Main/Menu/NCViewer+Menu.swift

+ 1 - 1
iOSClient/Main/Menu/NCViewer+Menu.swift

@@ -180,7 +180,7 @@ extension NCViewer {
                     viewController.isOverwriteHide = false
                     
                     navigationController.modalPresentationStyle = UIModalPresentationStyle.fullScreen
-                    viewController.present(navigationController, animated: true, completion: nil)
+                    self.appDelegate.window?.rootViewController?.present(navigationController, animated: true, completion: nil)
                 }
             )
         )