marinofaggiana 4 years ago
parent
commit
d970e9efd7
1 changed files with 3 additions and 4 deletions
  1. 3 4
      iOSClient/Brand/Intro/NCIntroViewController.swift

+ 3 - 4
iOSClient/Brand/Intro/NCIntroViewController.swift

@@ -173,10 +173,9 @@ class NCIntroViewController: UIViewController, UICollectionViewDataSource, UICol
 
     @IBAction func host(_ sender: Any) {
         
-        guard let url = URL(string: NCBrandOptions.shared.linkLoginHost) else { return }
-        UIApplication.shared.open(url)
+        //guard let url = URL(string: NCBrandOptions.shared.linkLoginHost) else { return }
+        //UIApplication.shared.open(url)
         
-        /*
         let browserWebVC = UIStoryboard(name: "NCBrowserWeb", bundle: nil).instantiateInitialViewController() as? NCBrowserWeb
 
         browserWebVC?.urlBase = NCBrandOptions.shared.linkLoginHost
@@ -184,9 +183,9 @@ class NCIntroViewController: UIViewController, UICollectionViewDataSource, UICol
         if let browserWebVC = browserWebVC {
             appDelegate.window?.rootViewController?.present(browserWebVC, animated: true)
         }
-        */
     }
 }
+
 extension UINavigationController {
     open override var childForStatusBarStyle: UIViewController? {
         return topViewController?.childForStatusBarStyle ?? topViewController