确认按钮仅在学习模式显示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-20 22:06:13 +08:00
parent e890350f9a
commit 486fda8fc6
2 changed files with 6 additions and 0 deletions
@@ -127,6 +127,11 @@ final class SpellingInputView: UIView, UITextFieldDelegate {
refreshBoxes()
}
func hideAccessoryView() {
confirmButton?.isHidden = true
hiddenField.inputAccessoryView = nil
}
func showResultState(correct: Bool) {
let color = correct ? Theme.Color.correct : Theme.Color.wrong
for position in blankPositions {