Support for Sydro find interaction

This commit is contained in:
James Magahern
2022-03-28 16:52:03 -07:00
parent c1e194cfe9
commit 44cde0018b
4 changed files with 31 additions and 11 deletions

View File

@@ -99,10 +99,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
),
// Find on page
UIKeyCommand(
modifiers: [.command], input: "F",
title: "Find on Page",
action: #selector(ShortcutResponder.findOnPage)
(FindOnPageViewController.isEnabled() ?
UIKeyCommand(
modifiers: [.command], input: "F",
title: "Find on Page",
action: #selector(ShortcutResponder.findOnPage)
)
: UIKeyCommand()
),
// Refresh