mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Use correct account method for adding folders
This commit is contained in:
1 parent
3464fbfc7f
commit
6536dbf2a5
4 files changed
+34
-7
No files matched your search
@@ -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