Clear the saved middle position when emptying the timeline. Issue #1464
This commit is contained in:
parent
61370dd04d
commit
84d1ccadfd
@ -1551,6 +1551,7 @@ private extension SceneCoordinator {
|
|||||||
|
|
||||||
func emptyTheTimeline() {
|
func emptyTheTimeline() {
|
||||||
if !articles.isEmpty {
|
if !articles.isEmpty {
|
||||||
|
timelineMiddleIndexPath = nil
|
||||||
replaceArticles(with: Set<Article>(), animated: false)
|
replaceArticles(with: Set<Article>(), animated: false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user