英选汉页面单词下方添加音标展示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-18 21:11:28 +08:00
parent eb984848cd
commit 72b38ad416
@@ -53,6 +53,9 @@ struct QuizView: View {
Text(question.prompt)
.font(.system(size: config.mode == .enToZh ? 44 : 34, weight: .bold))
if config.mode == .enToZh {
Text(question.word.phonetic)
.font(.title3)
.foregroundStyle(.secondary)
Button {
speech.speak(question.prompt)
} label: {