Call completion handler when there are no feeds associated with the folder being removed. Issue #938

This commit is contained in:
Maurice Parker 2019-09-01 10:49:35 -05:00
parent fabea36a91
commit e31dec7c44
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ final class FeedbinAccountDelegate: AccountDelegate {
// Feedbin uses tags and if at least one feed isn't tagged, then the folder doesn't exist on their system // Feedbin uses tags and if at least one feed isn't tagged, then the folder doesn't exist on their system
guard folder.hasAtLeastOneFeed() else { guard folder.hasAtLeastOneFeed() else {
account.removeFolder(folder) account.removeFolder(folder)
completion(.success(()))
return return
} }