mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Fix month display in media scrolling indicator
This commit is contained in:
@@ -759,7 +759,7 @@ final class SparseItemGridScrollingIndicatorComponent: CombinedComponent {
|
||||
let date = context.component.date
|
||||
|
||||
let components = date.0.components(separatedBy: " ")
|
||||
let month = components.first ?? ""
|
||||
let month = String(components.prefix(upTo: components.count - 1).joined(separator: " "))
|
||||
let year = components.last ?? ""
|
||||
|
||||
var monthAnimation: RollingText.AnimationDirection?
|
||||
|
||||
Reference in New Issue
Block a user