Refactoring

This commit is contained in:
Ali
2021-08-12 16:41:11 +02:00
parent adc430b870
commit bf253eec46
84 changed files with 604 additions and 443 deletions

View File

@@ -15,7 +15,7 @@ final class AuthorizationSequenceSplashController: ViewController {
return self.displayNode as! AuthorizationSequenceSplashControllerNode
}
private let accountManager: AccountManager
private let accountManager: AccountManager<TelegramAccountManagerTypes>
private let account: UnauthorizedAccount
private let theme: PresentationTheme
@@ -28,7 +28,7 @@ final class AuthorizationSequenceSplashController: ViewController {
private let suggestedLocalization = Promise<SuggestedLocalizationInfo?>()
private let activateLocalizationDisposable = MetaDisposable()
init(accountManager: AccountManager, account: UnauthorizedAccount, theme: PresentationTheme) {
init(accountManager: AccountManager<TelegramAccountManagerTypes>, account: UnauthorizedAccount, theme: PresentationTheme) {
self.accountManager = accountManager
self.account = account
self.theme = theme