Adds keyboard shortcut for "Find in Article" (iOS)

This commit is contained in:
Brian Sanders committed 2020-05-15 21:41:14 -04:00
1 parent 2631f4f3f0
commit 96671df667
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -343,7 +343,7 @@ extension ArticleViewController {
])
}
@objc func beginFind(_ notification: Notification) {
@objc func beginFind(_ _: Any? = nil) {
searchBar.isHidden = false
navigationController?.setToolbarHidden(true, animated: true)
currentWebViewController?.additionalSafeAreaInsets.bottom = searchBar.frame.height