浏览代码

clear code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父节点
当前提交
3d3884dda0
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      iOSClient/Login/NCLogin.swift

+ 4 - 4
iOSClient/Login/NCLogin.swift

@@ -126,9 +126,9 @@ class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {
                 if !accountTemp.isEmpty {
                     self.shareAccounts = accountTemp
                     let image = UIImage(systemName: "person.line.dotted.person")
-                    let navigationItemTalk = UIBarButtonItem(image: image, style: .plain, target: self, action: #selector(openShareAccountsViewController))
-                    navigationItemTalk.tintColor = textColor
-                    self.navigationItem.rightBarButtonItem = navigationItemTalk
+                    let navigationItem = UIBarButtonItem(image: image, style: .plain, target: self, action: #selector(openShareAccountsViewController))
+                    navigationItem.tintColor = textColor
+                    self.navigationItem.rightBarButtonItem = navigationItem
                 }
             }
         }
@@ -228,7 +228,7 @@ class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {
 
     }
 
-    // MARK: - Talk accounts View Controller
+    // MARK: - Share accounts View Controller
 
     @objc func openShareAccountsViewController() {