marinofaggiana 4 years ago
parent
commit
eaa31800d7
1 changed files with 1 additions and 1 deletions
  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)
                 }
             )
         )