mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 18:56:14 +00:00
Merge branch 'master' into swiftui
This commit is contained in:
commit
6424e621fd
1 file changed
+2
-1
@@ -611,7 +611,8 @@ private extension MasterTimelineViewController {
|
||||
}
|
||||
|
||||
tableView.selectRow(at: nil, animated: false, scrollPosition: .top)
|
||||
if resetScroll && dataSource.snapshot().itemIdentifiers(inSection: 0).count > 0 {
|
||||
let dataSourceSnapshot = dataSource.snapshot()
|
||||
if resetScroll && dataSourceSnapshot.indexOfSection(0) != nil && dataSourceSnapshot.itemIdentifiers(inSection: 0).count > 0 {
|
||||
tableView.scrollToRow(at: IndexPath(row: 0, section: 0), at: .top, animated: false)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user