Adds history browser view
This commit is contained in:
@@ -50,6 +50,12 @@ protocol ShortcutResponder: AnyObject {
|
||||
|
||||
@objc
|
||||
optional func openInReaderMode(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func showHistory(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func handleOpenURL(_ sender: Any?, url: URL?)
|
||||
}
|
||||
|
||||
fileprivate extension Array {
|
||||
@@ -166,6 +172,13 @@ public class KeyboardShortcuts {
|
||||
title: "Go Forward",
|
||||
action: #selector(ShortcutResponder.goForward)
|
||||
),
|
||||
|
||||
UIKeyCommand(
|
||||
modifiers: [.command, .shift],
|
||||
input: "h",
|
||||
title: "Show History…",
|
||||
action: #selector(ShortcutResponder.showHistory)
|
||||
),
|
||||
]),
|
||||
|
||||
// Tab Navigation
|
||||
|
||||
Reference in New Issue
Block a user