mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -44,14 +44,14 @@ public enum PrivacyIntroControllerMode {
|
||||
}
|
||||
}
|
||||
|
||||
func title(strings: PresentationStrings) -> String {
|
||||
func title(context: AccountContext, strings: PresentationStrings) -> String {
|
||||
switch self {
|
||||
case .passcode:
|
||||
return strings.PasscodeSettings_Title
|
||||
case .twoStepVerification:
|
||||
return strings.TwoStepAuth_AdditionalPassword
|
||||
case let .changePhoneNumber(phoneNumber):
|
||||
return formatPhoneNumber(phoneNumber)
|
||||
return formatPhoneNumber(context: context, number: phoneNumber)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user