mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various improvements
This commit is contained in:
@@ -132,6 +132,10 @@ public final class PhoneInputNode: ASDisplayNode, UITextFieldDelegate {
|
||||
|
||||
private var countryNameForCode: (Int32, String)?
|
||||
|
||||
public var formattedCodeAndNumber: (String, String) {
|
||||
return (self.countryCodeField.textField.text ?? "", self.numberField.textField.text ?? "")
|
||||
}
|
||||
|
||||
public var codeAndNumber: (Int32?, String?, String) {
|
||||
get {
|
||||
var code: Int32?
|
||||
|
||||
Reference in New Issue
Block a user