大小写切换按钮简化为 A/a 单字符
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -37,7 +37,7 @@ final class QuizViewController: UIViewController {
|
||||
action: nil
|
||||
)
|
||||
private lazy var caseToggleItem = UIBarButtonItem(
|
||||
title: "A a", style: .plain, target: self, action: #selector(toggleCase)
|
||||
title: "a", style: .plain, target: self, action: #selector(toggleCase)
|
||||
)
|
||||
|
||||
private var current: QuizQuestion? {
|
||||
@@ -417,7 +417,7 @@ final class QuizViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func updateCaseButton() {
|
||||
caseToggleItem.title = isUppercase ? "A A" : "A a"
|
||||
caseToggleItem.title = isUppercase ? "A" : "a"
|
||||
caseToggleItem.tintColor = .label
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user