From b759237fc193fb1795d6c57a0f3945e0a905e71e Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 16 May 2019 11:19:44 -0500 Subject: [PATCH] Fix issue where moving from account to folder and the network is unavailable caused feeds to be lost. --- Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift b/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift index 944350e0d..7c74a7188 100644 --- a/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift +++ b/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift @@ -252,6 +252,8 @@ private extension SidebarOutlineDataSource { case .success: break 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) } }