Remove the no-longer-needed webview pool.

This commit is contained in:
Brent Simmons committed 2026-12-04 14:48:20 -08:00
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
}