Replace with nothing to reset the Timeline when fetching a new one
This commit is contained in:
parent
e7a68f433d
commit
d71dc5813e
|
@ -471,9 +471,10 @@ private extension TimelineModel {
|
|||
// MARK: Article Fetching
|
||||
|
||||
func fetchArticles() {
|
||||
replaceArticles(with: Set<Article>())
|
||||
|
||||
guard !feeds.isEmpty else {
|
||||
nameForDisplay = ""
|
||||
replaceArticles(with: Set<Article>())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue