mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Refactor string generation
This commit is contained in:
parent
bbd096d88b
commit
7bed1728bb
205 changed files with 15848 additions and 33988 deletions
|
|
@ -76,7 +76,7 @@ public final class ChatMessageLiveLocationTimerNode: ASDisplayNode {
|
|||
let string: String
|
||||
if intRemaining > 60 * 60 {
|
||||
let hours = Int32(round(remaining / (60.0 * 60.0)))
|
||||
string = strings.Map_LiveLocationShortHour("\(hours)").0
|
||||
string = strings.Map_LiveLocationShortHour("\(hours)").string
|
||||
} else {
|
||||
let minutes = Int32(round(remaining / (60.0)))
|
||||
string = "\(minutes)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue