mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Clear current article so that wrapping occurs
This commit is contained in:
1 parent
69aeacd98d
commit
74297944e9
1 file changed
+2
-1
@@ -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