Remove edited name when remote feed name changes.

This commit is contained in:
Tom Grimwood-Taylor 2019-06-05 12:54:00 +01:00
parent f3505e4537
commit ac9057299a
1 changed files with 2 additions and 0 deletions

View File

@ -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 {