Browse Source

fix create new account

Marino Faggiana 7 years ago
parent
commit
3564f0fcfd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      iOSClient/Settings/CCManageAccount.m

+ 1 - 3
iOSClient/Settings/CCManageAccount.m

@@ -198,9 +198,7 @@
 
 - (void)loginSuccess:(NSInteger)loginType
 {
-    if (loginType == loginAddForced) {
-        [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"initializeMain" object:nil];
-    }
+    [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"initializeMain" object:nil];
 }
 
 - (void)loginClose