Refresh all after importing OPML. Fix #59.

This commit is contained in:
Brent Simmons 2017-12-03 12:54:51 -08:00
parent bef77bc4a1
commit a488683550
1 changed files with 4 additions and 0 deletions

View File

@ -303,6 +303,10 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
}
importOPMLItems(children, parentFolder: nil)
dirty = true
DispatchQueue.main.async {
self.refreshAll()
}
}
public func updateUnreadCounts(for feeds: Set<Feed>) {