Fix bug in arrow key navigation where focus could get stolen from the timeline
This commit is contained in:
parent
7a452e2a3c
commit
ac03992430
|
@ -31,10 +31,6 @@ class DetailViewController: UIViewController {
|
|||
return keyboardManager.keyCommands
|
||||
}
|
||||
|
||||
override var canBecomeFirstResponder: Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
deinit {
|
||||
webView.removeFromSuperview()
|
||||
DetailViewControllerWebViewProvider.shared.enqueueWebView(webView)
|
||||
|
|
|
@ -819,10 +819,10 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
|||
}
|
||||
|
||||
func navigateToTimeline() {
|
||||
masterTimelineViewController?.focus()
|
||||
if currentArticleIndexPath == nil {
|
||||
selectArticle(IndexPath(row: 0, section: 0))
|
||||
}
|
||||
masterTimelineViewController?.focus()
|
||||
}
|
||||
|
||||
func navigateToDetail() {
|
||||
|
|
Loading…
Reference in New Issue