mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Clear the saved middle position when emptying the timeline. Issue #1464
This commit is contained in:
1 parent
61370dd04d
commit
84d1ccadfd
1 file changed
+1
@@ -1551,6 +1551,7 @@ private extension SceneCoordinator {
|
||||
|
||||
func emptyTheTimeline() {
|
||||
if !articles.isEmpty {
|
||||
timelineMiddleIndexPath = nil
|
||||
replaceArticles(with: Set<Article>(), animated: false)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user