mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Youtube player fixes
This commit is contained in:
parent
7fb0b48ded
commit
c899d1dfa7
25 changed files with 1301 additions and 1183 deletions
|
|
@ -44,6 +44,15 @@ public class BaseLinesChartController: BaseChartController {
|
|||
self.setBackButtonVisibilityClosure?(isZoomed, animated)
|
||||
|
||||
updateChartRangeTitle(animated: animated)
|
||||
|
||||
let initial = initialChartsCollection
|
||||
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) {
|
||||
if let lastDate = initial.axisValues.last {
|
||||
TimeInterval.animationDurationMultipler = 0.00001
|
||||
self.didTapZoomIn(date: lastDate, pointIndex: initial.axisValues.count - 1)
|
||||
TimeInterval.animationDurationMultipler = 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func updateChartRangeTitle(animated: Bool) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue