feat: increased swiftlint file_length rule from 600 to 800

This commit is contained in:
Serhiy Mytrovtsiy
2022-05-24 23:26:53 +02:00
parent c93f9f4e1e
commit 49164388ca
3 changed files with 7 additions and 9 deletions

View File

@@ -8,7 +8,6 @@
//
// Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved.
//
// swiftlint:disable file_length
import Cocoa
import Kit
@@ -156,7 +155,7 @@ internal class SensorView: NSStackView {
self.valueView = ValueSensorView(sensor, width: width, callback: { [weak self] in
self?.open()
})
self.chartView = ChartSensorView(width: width)
self.chartView = ChartSensorView(width: width, suffix: sensor.unit)
self.addArrangedSubview(self.valueView)