单词详情页导航栏学习按钮与历史记录按钮位置互换

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 22:33:19 +08:00
parent 7728a22048
commit 2d8caf3550
@@ -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()