mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-19 21:13:22 +01:00
Loop through through rows using the count of rows in that section, rather than the count of rows in the initial indexPath’s section. Fix #1987.
This commit is contained in:
parent
6d9eda442f
commit
1321f0b9ff
@ -1693,16 +1693,16 @@ private extension SceneCoordinator {
|
||||
return 0
|
||||
}
|
||||
}()
|
||||
|
||||
for j in startingRow..<shadowTable[indexPath.section].count {
|
||||
|
||||
|
||||
for j in startingRow..<shadowTable[i].count {
|
||||
|
||||
let nextIndexPath = IndexPath(row: j, section: i)
|
||||
guard let node = nodeFor(nextIndexPath), let unreadCountProvider = node.representedObject as? UnreadCountProvider else {
|
||||
assertionFailure()
|
||||
completion(false)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
if isExpanded(node) {
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user