确认后按钮立即禁用,刷新后重新启用
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -236,7 +236,9 @@ final class QuizViewController: UIViewController {
|
|||||||
nextButton.isHidden = false
|
nextButton.isHidden = false
|
||||||
}
|
}
|
||||||
spellingView.onSubmit = { [weak self] in
|
spellingView.onSubmit = { [weak self] in
|
||||||
self?.primaryButtonTapped()
|
guard let self else { return }
|
||||||
|
spellingView.confirmButton?.isEnabled = false
|
||||||
|
primaryButtonTapped()
|
||||||
}
|
}
|
||||||
spellingView.activate()
|
spellingView.activate()
|
||||||
} else if isDictation {
|
} else if isDictation {
|
||||||
|
|||||||
Reference in New Issue
Block a user