英选汉页面单词下方添加音标展示
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user