perf(ui): 移除监控动效并精简原生图表绘制
This commit is contained in:
@@ -11,7 +11,7 @@ struct FanSpeedIndicator: View {
|
||||
.frame(width: 14, height: 14).accessibilityHidden(true)
|
||||
title.foregroundStyle(.secondary)
|
||||
Spacer(minLength: 2)
|
||||
AnimatedMetricText(value: rpm.map { "\(Int($0.rounded())) RPM" } ?? "-- RPM")
|
||||
MetricText(value: rpm.map { "\(Int($0.rounded())) RPM" } ?? "-- RPM")
|
||||
.monospacedDigit().fontWeight(.medium)
|
||||
}
|
||||
.font(.system(size: 10)).lineLimit(1).minimumScaleFactor(0.7)
|
||||
|
||||
Reference in New Issue
Block a user