Prechádzať zdrojové kódy

fix variable

Signed-off-by: Henrik Storch <thisisthefoxe@gmail.com>
Henrik Storch 3 rokov pred
rodič
commit
a2826e4221
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      iOSClient/NCGlobal.swift

+ 2 - 2
iOSClient/NCGlobal.swift

@@ -42,9 +42,9 @@ class NCGlobal: NSObject {
         if (!matches.isEmpty) {
             // Already a md5 hash?
             // done, use as is.
-            hash = loweUserName
+            hash = lowerUsername
         } else {
-            hash = loweUserName.md5()
+            hash = lowerUsername.md5()
         }
 
         hash = hash.replacingOccurrences(of: "[^0-9a-f]", with: "", options: .regularExpression)