Fix issue where moving from account to folder and the network is unavailable caused feeds to be lost.

This commit is contained in:
Maurice Parker 2019-05-16 11:19:44 -05:00
parent 87512a64a5
commit b759237fc1
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,8 @@ private extension SidebarOutlineDataSource {
case .success: case .success:
break break
case .failure(let error): case .failure(let error):
// If the second part of the move failed, try to put the feed back
source?.addFeed(feed) { result in}
NSApplication.shared.presentError(error) NSApplication.shared.presentError(error)
} }
} }