确认后按钮立即禁用,刷新后重新启用

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-20 22:02:51 +08:00
parent 794608d69c
commit e890350f9a
@@ -236,7 +236,9 @@ final class QuizViewController: UIViewController {
nextButton.isHidden = false
}
spellingView.onSubmit = { [weak self] in
self?.primaryButtonTapped()
guard let self else { return }
spellingView.confirmButton?.isEnabled = false
primaryButtonTapped()
}
spellingView.activate()
} else if isDictation {