mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Prevent row selection on iPhone as keeping selected rows highlighted is an iPad only feature
This commit is contained in:
@@ -432,6 +432,9 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
// MARK: API
|
||||
|
||||
func updateFeedSelection() {
|
||||
guard traitCollection.userInterfaceIdiom == .pad else {
|
||||
return
|
||||
}
|
||||
if let indexPath = coordinator.currentFeedIndexPath {
|
||||
if tableView.indexPathForSelectedRow != indexPath {
|
||||
tableView.selectRow(at: indexPath, animated: true, scrollPosition: .middle)
|
||||
|
||||
Reference in New Issue
Block a user