浏览代码

fix create new account

Marino Faggiana 7 年之前
父节点
当前提交
3564f0fcfd
共有 1 个文件被更改,包括 1 次插入3 次删除
  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