marinofaggiana 3 years ago
parent
commit
1ccafaa706
1 changed files with 3 additions and 0 deletions
  1. 3 0
      iOSClient/Login/NCLogin.swift

+ 3 - 0
iOSClient/Login/NCLogin.swift

@@ -116,8 +116,11 @@ class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {
         signupButton.setTitle(NSLocalizedString("_sign_up_", comment: ""), for: .normal)
         
         // type of login
+        // DISABLE
         loginModeButton.setTitle(NSLocalizedString("_traditional_login_", comment: ""), for: .normal)
         loginModeButton.setTitleColor(textColor.withAlphaComponent(0.5), for: .normal)
+        loginModeButton.isEnabled = false
+        loginModeButton.isHidden = true
      
         // brand
         if NCBrandOptions.shared.disable_request_login_url {