mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various fixes
This commit is contained in:
@@ -46,6 +46,9 @@ public func stringForDistance(strings: PresentationStrings, distance: CLLocation
|
||||
}
|
||||
|
||||
public func flagEmoji(countryCode: String) -> String {
|
||||
if countryCode.uppercased() == "FT" {
|
||||
return "🏴☠️"
|
||||
}
|
||||
let base : UInt32 = 127397
|
||||
var flagString = ""
|
||||
for v in countryCode.uppercased().unicodeScalars {
|
||||
|
||||
Reference in New Issue
Block a user