Move to F&R API

This commit is contained in:
James Magahern
2022-05-09 13:16:55 -07:00
parent d9658508cc
commit 5d56b40128

View File

@@ -81,12 +81,12 @@ class FindOnPageViewController: UIViewController, _WKFindDelegate
}
@objc
func findNext(_ sender: Any?) {
override func findNext(_ sender: Any?) {
webView?._find(self.findString, options: self.findOptions, maxCount: self.maxCount)
}
@objc
func findPrevious(_ sender: Any?) {
override func findPrevious(_ sender: Any?) {
let options: _WKFindOptions = self.findOptions.union(.backwards)
webView?._find(self.findString, options: options, maxCount: self.maxCount)
}