mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix issue where new Feeds added to a folder also got left in the account container.
This commit is contained in:
@@ -35,7 +35,7 @@ final class FeedbinAPICaller: NSObject {
|
||||
private var transport: Transport!
|
||||
|
||||
var credentials: Credentials?
|
||||
var accountMetadata: AccountMetadata?
|
||||
weak var accountMetadata: AccountMetadata?
|
||||
|
||||
init(transport: Transport) {
|
||||
super.init()
|
||||
|
||||
@@ -375,6 +375,7 @@ final class FeedbinAccountDelegate: AccountDelegate {
|
||||
case .success(let taggingID):
|
||||
DispatchQueue.main.async {
|
||||
self?.saveFolderRelationship(for: feed, withFolderName: folder.name ?? "", id: String(taggingID))
|
||||
account.removeFeed(feed)
|
||||
folder.addFeed(feed)
|
||||
completion(.success(()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user