mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Post display name did change notification when an Account’s name changes.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user