Remove edited name when remote feed name changes.
This commit is contained in:
parent
f3505e4537
commit
ac9057299a
|
@ -647,6 +647,8 @@ private extension FeedbinAccountDelegate {
|
||||||
DispatchQueue.main.sync {
|
DispatchQueue.main.sync {
|
||||||
if let feed = account.idToFeedDictionary[subFeedId] {
|
if let feed = account.idToFeedDictionary[subFeedId] {
|
||||||
feed.name = subscription.name
|
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.homePageURL = subscription.homePageURL
|
||||||
feed.subscriptionID = String(subscription.subscriptionID)
|
feed.subscriptionID = String(subscription.subscriptionID)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue