mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -110,7 +110,7 @@ private func monthAtIndex(_ index: Int, strings: PresentationStrings) -> String
|
||||
}
|
||||
|
||||
private func dateHeaderTimestampId(timestamp: Int32) -> Int32 {
|
||||
if timestamp == scheduleWhenOnlineTimestamp {
|
||||
if timestamp == scheduleWhenOnlineTimestamp || timestamp >= Int32.max - 1000 {
|
||||
return timestamp
|
||||
} else if timestamp == Int32.max {
|
||||
return timestamp / (granularity) * (granularity)
|
||||
|
||||
Reference in New Issue
Block a user