学习记录卡片间距与单词列表保持一致
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user