From 43a26da659be42e06b7e361d0414132ba9f531df Mon Sep 17 00:00:00 2001 From: fish Date: Sun, 19 Jul 2026 21:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=9F=B3=E6=A0=87=E5=B7=A6=E4=BE=A7=E6=92=AD=E6=94=BE=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../LearnEnglish/Views/WordDetailViewController.swift | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/LearnEnglish/LearnEnglish/Views/WordDetailViewController.swift b/LearnEnglish/LearnEnglish/Views/WordDetailViewController.swift index dfdf8fa..149186a 100644 --- a/LearnEnglish/LearnEnglish/Views/WordDetailViewController.swift +++ b/LearnEnglish/LearnEnglish/Views/WordDetailViewController.swift @@ -87,18 +87,10 @@ final class WordDetailViewController: UIViewController { wordLabel.font = Theme.Font.wordHero() wordLabel.textAlignment = .center - let phoneticIcon = UIImageView(image: UIImage( - systemName: "speaker.wave.2", - withConfiguration: UIImage.SymbolConfiguration(pointSize: 13, weight: .medium))) - phoneticIcon.tintColor = .secondaryLabel let phoneticLabel = UILabel() phoneticLabel.text = word.phonetic phoneticLabel.font = .preferredFont(forTextStyle: .title3) phoneticLabel.textColor = .secondaryLabel - let phoneticRow = UIStackView(arrangedSubviews: [phoneticIcon, phoneticLabel]) - phoneticRow.axis = .horizontal - phoneticRow.alignment = .center - phoneticRow.spacing = 6 var buttonConfig = UIButton.Configuration.filled() buttonConfig.baseBackgroundColor = Theme.Color.accent @@ -115,7 +107,7 @@ final class WordDetailViewController: UIViewController { speakButton.heightAnchor.constraint(equalToConstant: 56) ]) - let stack = UIStackView(arrangedSubviews: [wordLabel, phoneticRow, speakButton]) + let stack = UIStackView(arrangedSubviews: [wordLabel, phoneticLabel, speakButton]) stack.axis = .vertical stack.spacing = 16 stack.alignment = .center