Send out an name change notification if the feed name changes. Fixes #2939

This commit is contained in:
Maurice Parker 2021-03-29 14:48:48 -05:00
parent f9bc973361
commit bfb6b3719e
1 changed files with 7 additions and 1 deletions

View File

@ -77,7 +77,13 @@ public final class WebFeed: Feed, Renamable, Hashable {
}
}
public var name: String?
public var name: String? {
didSet {
if name != oldValue {
postDisplayNameDidChangeNotification()
}
}
}
public var authors: Set<Author>? {
get {