单词详情页导航栏学习按钮与历史记录按钮位置互换
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -32,8 +32,8 @@ final class WordDetailViewController: UIViewController {
|
||||
title = categoryName
|
||||
navigationItem.largeTitleDisplayMode = .never
|
||||
navigationItem.rightBarButtonItems = [
|
||||
UIBarButtonItem(image: UIImage(systemName: "clock.arrow.circlepath"), style: .plain, target: self, action: #selector(showHistory)),
|
||||
UIBarButtonItem(title: "学习", style: .plain, target: self, action: #selector(startSpelling))
|
||||
UIBarButtonItem(title: "学习", style: .plain, target: self, action: #selector(startSpelling)),
|
||||
UIBarButtonItem(image: UIImage(systemName: "clock.arrow.circlepath"), style: .plain, target: self, action: #selector(showHistory))
|
||||
]
|
||||
buildLayout()
|
||||
updateSpeakState()
|
||||
|
||||
Reference in New Issue
Block a user