chore(project): 统一回归入口并清理审评遗留问题

This commit is contained in:
2026-11-03 22:12:44 +08:00
parent c8d7326a80
commit 0429be2b2d
8 changed files with 233 additions and 13 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ struct CPUCoreGrid: View {
.frame(width: diameter, height: diameter)
.frame(width: proxy.size.width, height: proxy.size.height)
}
.help((kind.map { label($0) + Text(verbatim: " · ") } ?? Text("cpu.core")) + Text(verbatim: "\(index + 1): \(MetricFormat.percent(value))"))
.help(Text("\(kind.map { label($0) } ?? Text("cpu.core")) · \(index + 1): \(MetricFormat.percent(value))"))
.accessibilityLabel(kind.map { label($0) } ?? Text("cpu.core"))
.accessibilityValue("\(index + 1): \(MetricFormat.percent(value))")
}