From d0df791b93309b043aaf02323f68beabe71a902d Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 15 Sep 2018 12:06:19 -0700 Subject: [PATCH] =?UTF-8?q?Skip=20writing=20to=20disk=20when=20feed=20sett?= =?UTF-8?q?ing=20changes,=20since=20we=E2=80=99re=20writing=20OPML=20now?= =?UTF-8?q?=20and=20storing=20feed=20settings=20in=20ODB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/Account/Account.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index 0ae747f34..7500eecae 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -135,7 +135,6 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(batchUpdateDidPerform(_:)), name: .BatchUpdateDidPerform, object: nil) - NotificationCenter.default.addObserver(self, selector: #selector(feedSettingDidChange(_:)), name: .FeedSettingDidChange, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(displayNameDidChange(_:)), name: .DisplayNameDidChange, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(childrenDidChange(_:)), name: .ChildrenDidChange, object: nil) @@ -492,13 +491,6 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, updateUnreadCount() } - @objc func feedSettingDidChange(_ note: Notification) { - - if let feed = note.object as? Feed, feed.account === self { - dirty = true - } - } - @objc func childrenDidChange(_ note: Notification) { guard let object = note.object else {