mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 19:57:31 +00:00
Remove the no-longer-needed webview pool.
This commit is contained in:
1 parent
545b8ebb64
commit
b7d2829bbb
7 files changed
+47
-214
No files matched your search
@@ -139,10 +139,10 @@ final class MainTimelineViewController: UIViewController, UndoableCommandRunner
|
||||
weak var coordinator: SceneCoordinator?
|
||||
var undoableCommands = [UndoableCommand]()
|
||||
override var keyCommands: [UIKeyCommand]? {
|
||||
// If the first responder is the WKWebView (PreloadedWebView) we don’t want to supply any keyboard
|
||||
// If the first responder is the WKWebView (ArticleWebView) we don’t want to supply any keyboard
|
||||
// commands that the system is looking for by going up the responder chain. They will interfere with
|
||||
// the WKWebViews built in hardware keyboard shortcuts, specifically the up and down arrow keys.
|
||||
guard let current = UIResponder.currentFirstResponder, !(current is PreloadedWebView) else { return nil }
|
||||
guard let current = UIResponder.currentFirstResponder, !(current is ArticleWebView) else { return nil }
|
||||
|
||||
return keyboardManager.keyCommands
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user