mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Clear current article so that wrapping occurs
This commit is contained in:
@@ -1370,7 +1370,7 @@ private extension SceneCoordinator {
|
||||
let nextIndexPath = IndexPath(row: j, section: i)
|
||||
guard let node = nodeFor(nextIndexPath), let unreadCountProvider = node.representedObject as? UnreadCountProvider else {
|
||||
assertionFailure()
|
||||
completion(true)
|
||||
completion(false)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -1380,6 +1380,7 @@ private extension SceneCoordinator {
|
||||
|
||||
if unreadCountProvider.unreadCount > 0 {
|
||||
selectFeed(nextIndexPath, animated: false, deselectArticle: false) {
|
||||
self.currentArticle = nil
|
||||
completion(true)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user