Fix posting name notifications when name changes.

This commit is contained in:
Tom Grimwood-Taylor 2019-06-05 12:53:30 +01:00
parent b4d7042a7b
commit f3505e4537
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public final class Feed: DisplayNameProvider, Renamable, UnreadCountProvider, Ha
set {
let oldNameForDisplay = nameForDisplay
metadata.name = newValue
if oldNameForDisplay != nameForDisplay {
if oldNameForDisplay != newValue {
postDisplayNameDidChangeNotification()
}
}