Explorar o código

change name errata function

Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
f8f7548dbc
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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;
     }