mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix build
This commit is contained in:
parent
b9d6903965
commit
64e3df0d84
2 changed files with 2 additions and 3 deletions
|
|
@ -181,7 +181,7 @@ class BarsComponentController: GeneralChartComponentController {
|
|||
verticalScalesRenderer.setVisible(true, animated: animated)
|
||||
|
||||
if let secondaryScalesRenderer = self.secondaryScalesRenderer {
|
||||
let (range, labels) = verticalLimitsLabels(verticalRange: range, secondary: true)
|
||||
let (_, labels) = verticalLimitsLabels(verticalRange: range, secondary: true)
|
||||
// if secondaryScalesRenderer.verticalRange.end != range {
|
||||
secondaryScalesRenderer.setup(verticalLimitsLabels: labels, animated: animated)
|
||||
// }
|
||||
|
|
|
|||
|
|
@ -9,12 +9,11 @@
|
|||
import Foundation
|
||||
#if os(macOS)
|
||||
import Cocoa
|
||||
typealias UIColor = NSColor
|
||||
#else
|
||||
import UIKit
|
||||
#endif
|
||||
|
||||
typealias UIColor = NSColor
|
||||
|
||||
class VerticalScalesRenderer: BaseChartRenderer {
|
||||
private var verticalLabelsAndLines: [LinesChartLabel] = []
|
||||
private var animatedVerticalLabelsAndLines: [AnimatedLinesChartLabels] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue