perf(ui): 移除监控动效并精简原生图表绘制

This commit is contained in:
2026-11-07 14:39:27 +08:00
parent 10c73c6026
commit 80706fa52e
54 changed files with 264 additions and 778 deletions
@@ -20,11 +20,11 @@ struct StorageDetailsView: View {
CardSeparator()
HStack(alignment: .top, spacing: 8) {
CardField(title: "disk.remainingLife") {
AnimatedMetricText(value: MetricFormat.percent(health?.remainingLife))
MetricText(value: MetricFormat.percent(health?.remainingLife))
}
Divider().frame(height: 32)
CardField(title: "disk.powerOnHours") {
AnimatedMetricText(value: health?.powerOnHours.map { "\($0) h" } ?? "--")
MetricText(value: health?.powerOnHours.map { "\($0) h" } ?? "--")
}
Divider().frame(height: 32)
CardField(title: "disk.localVolumes") {