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

@@ -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
}