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
@@ -38,10 +38,10 @@ final class MainFeedCollectionViewController: UICollectionViewController, Undoab
|
||||
private let keyboardManager = KeyboardManager(type: .sidebar)
|
||||
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 {
|
||||
guard let current = UIResponder.currentFirstResponder, !(current is ArticleWebView) else {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user