From ac9057299a8931177aba2aac52cc8b834ed7b7eb Mon Sep 17 00:00:00 2001 From: Tom Grimwood-Taylor Date: Wed, 5 Jun 2019 12:54:00 +0100 Subject: [PATCH] Remove edited name when remote feed name changes. --- Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift index 1964830ee..2ee47df57 100644 --- a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift +++ b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift @@ -647,6 +647,8 @@ private extension FeedbinAccountDelegate { DispatchQueue.main.sync { if let feed = account.idToFeedDictionary[subFeedId] { feed.name = subscription.name + // If the name has been changed on the server remove the locally edited name + feed.editedName = nil feed.homePageURL = subscription.homePageURL feed.subscriptionID = String(subscription.subscriptionID) } else {