mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user