mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Refactor string generation
This commit is contained in:
@@ -87,7 +87,7 @@ func stringForEstimatedDuration(strings: PresentationStrings, eta: Double) -> St
|
||||
} else {
|
||||
string = strings.Map_ETAMinutes(minutes)
|
||||
}
|
||||
return strings.Map_DirectionsDriveEta(string).0
|
||||
return strings.Map_DirectionsDriveEta(string).string
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user