mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-31 19:24:55 +01:00
Post display name did change notification when an Account’s name changes.
This commit is contained in:
parent
268a5453ad
commit
10cdc1553e
@ -56,9 +56,12 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
||||
return settings.name
|
||||
}
|
||||
set {
|
||||
let currentNameForDisplay = nameForDisplay
|
||||
if newValue != settings.name {
|
||||
settings.name = newValue
|
||||
|
||||
if currentNameForDisplay != nameForDisplay {
|
||||
postDisplayNameDidChangeNotification()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user