marinofaggiana 3 年之前
父节点
当前提交
8446d6f738
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      iOSClient/Login/NCLogin.swift

+ 2 - 0
iOSClient/Login/NCLogin.swift

@@ -123,6 +123,8 @@ class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {
         
         
         // certificate
         // certificate
         certificate.setImage(UIImage(named: "certificate")?.image(color: textColor, size: 100), for: .normal)
         certificate.setImage(UIImage(named: "certificate")?.image(color: textColor, size: 100), for: .normal)
+        certificate.isHidden = true
+        certificate.isEnabled = false
         
         
         if NCManageDatabase.shared.getAccounts()?.count ?? 0 == 0 {
         if NCManageDatabase.shared.getAccounts()?.count ?? 0 == 0 {
             imageUser.isHidden = true
             imageUser.isHidden = true