Write to disk on display-name-change only if it’s a Folder, since Feed names are stored in ODB.

This commit is contained in:
Brent Simmons 2018-09-15 12:08:57 -07:00
parent d0df791b93
commit 823d83c942
1 changed files with 0 additions and 3 deletions

View File

@ -506,9 +506,6 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
@objc func displayNameDidChange(_ note: Notification) {
if let feed = note.object as? Feed, feed.account === self {
dirty = true
}
if let folder = note.object as? Folder, folder.account === self {
dirty = true
}