mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Use correct account method for adding folders
This commit is contained in:
@@ -72,7 +72,15 @@ class AddFolderWindowController : NSWindowController {
|
||||
return
|
||||
}
|
||||
|
||||
account.ensureFolder(with: folderName)
|
||||
account.addFolder(folderName) { result in
|
||||
switch result {
|
||||
case .success:
|
||||
break
|
||||
case .failure(let error):
|
||||
NSApplication.shared.presentError(error)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: Actions
|
||||
|
||||
Reference in New Issue
Block a user