From 5b01f04afe55a46382a2062f8249c9b126d7bd26 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 18 Dec 2017 21:46:35 -0800 Subject: [PATCH] Save to disk right after importing OPML. Fix #249. --- Frameworks/Account/Account.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index ba068a0e8..7284adbf9 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -302,7 +302,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, } rebuildFeedDictionaries() importOPMLItems(children, parentFolder: nil) - dirty = true + saveToDisk() DispatchQueue.main.async { self.refreshAll()