소스 검색

change name errata function

Marino Faggiana 7 년 전
부모
커밋
f8f7548dbc
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      iOSClient/Settings/CCManageAccount.m

+ 3 - 3
iOSClient/Settings/CCManageAccount.m

@@ -214,7 +214,7 @@
     [appDelegate openLoginView:self loginType:loginAdd];
 }
 
-- (void)addAccountFoced
+- (void)addAccountForced
 {
     [appDelegate openLoginView:self loginType:loginAddForced];
 }
@@ -254,7 +254,7 @@
         NSArray *listAccount = [[NCManageDatabase sharedInstance] getAccounts];
         if ([listAccount count] > 0) [self ChangeDefaultAccount:listAccount[0]];
         else {
-            [self addAccountFoced];
+            [self addAccountForced];
         }
     }
 }
@@ -336,7 +336,7 @@
     NSArray *listAccount = [[NCManageDatabase sharedInstance] getAccounts];
     
     if (listAccount == nil) {
-        [self addAccountFoced];
+        [self addAccountForced];
         return;
     }