mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various fixes
This commit is contained in:
@@ -37,7 +37,7 @@ public func presentationStringsFormattedNumber(_ count: Int32, _ groupingSeparat
|
||||
}
|
||||
}
|
||||
|
||||
public func timeIntervalString(strings: PresentationStrings, value: Int32) -> String {
|
||||
public func timeIntervalString(strings: PresentationStrings, value: Int32, roundToNearest: Bool = false) -> String {
|
||||
if value < 60 {
|
||||
return strings.MessageTimer_Seconds(max(1, value))
|
||||
} else if value < 60 * 60 {
|
||||
|
||||
Reference in New Issue
Block a user