学习记录卡片间距与单词列表保持一致

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 21:32:24 +08:00
parent 74dcaee335
commit 673e35aec2
@@ -6,7 +6,7 @@ final class HistoryViewController: UITableViewController {
init() { init() {
sections = LearnedStore.shared.sectioned sections = LearnedStore.shared.sectioned
super.init(style: .insetGrouped) super.init(style: .plain)
} }
@available(*, unavailable) @available(*, unavailable)
@@ -25,6 +25,7 @@ final class HistoryViewController: UITableViewController {
tableView.register(WordCardCell.self, forCellReuseIdentifier: "cell") tableView.register(WordCardCell.self, forCellReuseIdentifier: "cell")
tableView.separatorStyle = .none tableView.separatorStyle = .none
tableView.backgroundColor = .systemBackground tableView.backgroundColor = .systemBackground
tableView.contentInset.top = 8
updateEmptyState() updateEmptyState()
speechObserver = NotificationCenter.default.addObserver( speechObserver = NotificationCenter.default.addObserver(