Various fixes

This commit is contained in:
Ilya Laktyushin
2023-10-24 15:13:42 +04:00
parent 48a6568df0
commit 1e734c72b8
5 changed files with 11 additions and 2 deletions

View File

@@ -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 {