marinofaggiana hace 5 años
padre
commit
3e8e45389d
Se han modificado 1 ficheros con 2 adiciones y 6 borrados
  1. 2 6
      iOSClient/Login/NCLoginWeb.swift

+ 2 - 6
iOSClient/Login/NCLoginWeb.swift

@@ -29,7 +29,6 @@ class NCLoginWeb: UIViewController {
     let appDelegate = UIApplication.shared.delegate as! AppDelegate
 
     @objc var urlBase = ""
-    @objc var buttonExitVisible = true
 
     @IBOutlet weak var buttonExit: UIButton!
 
@@ -53,11 +52,8 @@ class NCLoginWeb: UIViewController {
             urlBase =  urlBase + k_flowEndpoint
         }
         
-        if buttonExitVisible {
-            self.view.bringSubviewToFront(buttonExit)
-        } else {
-            buttonExit.isHidden = true
-        }
+        // buttonExitVisible
+        self.view.bringSubviewToFront(buttonExit)
         
         loadWebPage(webView: webView!, url: URL(string: urlBase)!)
     }