Call completion handler when there are no feeds associated with the folder being removed. Issue #938
This commit is contained in:
parent
fabea36a91
commit
e31dec7c44
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue