From ce0d5590f164eea5f7d5655d149d3be0a66193ab Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 29 Mar 2021 14:48:48 -0500 Subject: [PATCH] Send out an name change notification if the feed name changes. Fixes #2939 --- Account/Sources/Account/WebFeed.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Account/Sources/Account/WebFeed.swift b/Account/Sources/Account/WebFeed.swift index d49e7a938..9fddbb5eb 100644 --- a/Account/Sources/Account/WebFeed.swift +++ b/Account/Sources/Account/WebFeed.swift @@ -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? { get {