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)
                 }
             )
         )