浏览代码

Update iOSClient/NCGlobal.swift

Co-authored-by: Kai <splitt3r@users.noreply.github.com>
Signed-off-by: Henrik Storch <thisisthefoxe@gmail.com>
Henry 3 年之前
父节点
当前提交
40ac8540c9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/NCGlobal.swift

+ 1 - 1
iOSClient/NCGlobal.swift

@@ -31,7 +31,7 @@ class NCGlobal: NSObject {
 
     func usernameToColor(_ username: String) -> CGColor {
         // Normalize hash
-        let loweUserName = username.lowercased()
+        let lowerUsername = username.lowercased()
         var hash: String
 
         let regex = try! NSRegularExpression(pattern: "^([0-9a-f]{4}-?){8}$")