perf(ui): 移除监控动效并精简原生图表绘制
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user