From f3505e45375961c9c215635034ac6a90ad363c06 Mon Sep 17 00:00:00 2001 From: Tom Grimwood-Taylor Date: Wed, 5 Jun 2019 12:53:30 +0100 Subject: [PATCH] Fix posting name notifications when name changes. --- Frameworks/Account/Feed.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/Account/Feed.swift b/Frameworks/Account/Feed.swift index 5b416bcf8..c0b3cb9cd 100644 --- a/Frameworks/Account/Feed.swift +++ b/Frameworks/Account/Feed.swift @@ -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() } }