mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Don't display virtual numbers tip for US accounts
This commit is contained in:
@@ -39,7 +39,7 @@ private func removePlus(_ text: String?) -> String {
|
||||
return result
|
||||
}
|
||||
|
||||
private func lookupCountryIdByNumber(_ number: String, configuration: CountriesConfiguration) -> (Country, Country.CountryCode)? {
|
||||
public func lookupCountryIdByNumber(_ number: String, configuration: CountriesConfiguration) -> (Country, Country.CountryCode)? {
|
||||
let number = removePlus(number)
|
||||
var results: [(Country, Country.CountryCode)]? = nil
|
||||
for i in 0 ..< number.count {
|
||||
|
||||
Reference in New Issue
Block a user