HistoryView: Adds ability to delete history items
This commit is contained in:
@@ -11,7 +11,7 @@ import UIKit
|
||||
@MainActor
|
||||
class HistoryBrowserViewController: UIHostingController<HistoryView> {
|
||||
public init() {
|
||||
super.init(rootView: HistoryView(historyItems: BrowserHistory.shared.allHistory(limit: 500)))
|
||||
super.init(rootView: HistoryView(viewModel: BrowserHistory.shared.viewModel(limit: 500)))
|
||||
}
|
||||
|
||||
required dynamic init?(coder aDecoder: NSCoder) {
|
||||
|
||||
Reference in New Issue
Block a user