From a4886835503c901d7026770bd04ce2c7a2b1de84 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 3 Dec 2017 12:54:51 -0800 Subject: [PATCH] Refresh all after importing OPML. Fix #59. --- Frameworks/Account/Account.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index 7a527d6a1..5243ba209 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -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) {