Browse Source

new settings for : preferred provider

Marino Faggiana 6 years ago
parent
commit
40f10971ef
1 changed files with 2 additions and 7 deletions
  1. 2 7
      iOSClient/Settings/CCManageAccount.m

+ 2 - 7
iOSClient/Settings/CCManageAccount.m

@@ -236,11 +236,6 @@
     });
 }
 
-- (void)addAccountForced
-{
-    [appDelegate openLoginView:self loginType:k_login_Add_Forced selector:k_intro_login];
-}
-
 #pragma --------------------------------------------------------------------------------------------
 #pragma mark === Modify Account ===
 #pragma --------------------------------------------------------------------------------------------
@@ -312,7 +307,7 @@
         if ([listAccount count] > 0)
             [self ChangeDefaultAccount:listAccount[0]];
         else {
-            [self addAccountForced];
+            [appDelegate openLoginView:self loginType:k_login_Add_Forced selector:k_intro_login];
         }
     }]];
     
@@ -366,7 +361,7 @@
     NSArray *listAccount = [[NCManageDatabase sharedInstance] getAccounts];
     
     if (listAccount.count == 0) {
-        [self addAccountForced];
+        [appDelegate openLoginView:self loginType:k_login_Add_Forced selector:k_intro_login];
         return;
     }