no message

This commit is contained in:
Peter
2017-03-30 22:25:57 +03:00
parent d057bc1f6a
commit 6238c5d9d6
110 changed files with 1961 additions and 437 deletions

View File

@@ -257,7 +257,7 @@ public final class AuthorizationSequenceController: NavigationController {
self.setViewControllers([self.splashController(), self.signUpController(firstName: firstName, lastName: lastName)], animated: !self.viewControllers.isEmpty)
}
} else if let _ = state as? AuthorizedAccountState {
self._authorizedAccount.set(accountWithId(apiId: self.account.apiId, id: self.account.id, appGroupPath: self.account.appGroupPath, testingEnvironment: self.account.testingEnvironment, auxiliaryMethods: telegramAccountAuxiliaryMethods) |> mapToSignal { account -> Signal<Account, NoError> in
self._authorizedAccount.set(accountWithId(apiId: self.account.apiId, id: self.account.id, supplementary: false, appGroupPath: self.account.appGroupPath, testingEnvironment: self.account.testingEnvironment, auxiliaryMethods: telegramAccountAuxiliaryMethods) |> mapToSignal { account -> Signal<Account, NoError> in
if case let .right(authorizedAccount) = account {
return .single(authorizedAccount)
} else {