Fix posting name notifications when name changes.
This commit is contained in:
parent
b4d7042a7b
commit
f3505e4537
|
@ -64,7 +64,7 @@ public final class Feed: DisplayNameProvider, Renamable, UnreadCountProvider, Ha
|
||||||
set {
|
set {
|
||||||
let oldNameForDisplay = nameForDisplay
|
let oldNameForDisplay = nameForDisplay
|
||||||
metadata.name = newValue
|
metadata.name = newValue
|
||||||
if oldNameForDisplay != nameForDisplay {
|
if oldNameForDisplay != newValue {
|
||||||
postDisplayNameDidChangeNotification()
|
postDisplayNameDidChangeNotification()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue