mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 08:42:51 +00:00
Remove unneeded LocalAccountDelegateError.
This commit is contained in:
1 parent
7f1c275321
commit
dc2eba9d22
2 files changed
+1
-5
No files matched your search
@@ -428,7 +428,7 @@ final class CloudKitAccountDelegate: AccountDelegate {
|
||||
|
||||
private func restoreFolder(for account: Account, folder: Folder, completion: @escaping (Result<Void, Error>) -> Void) {
|
||||
guard let name = folder.name else {
|
||||
completion(.failure(LocalAccountDelegateError.invalidParameter))
|
||||
completion(.failure(AccountError.invalidParameter))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -14,10 +14,6 @@ import ArticlesDatabase
|
||||
import RSWeb
|
||||
import Secrets
|
||||
|
||||
public enum LocalAccountDelegateError: String, Error {
|
||||
case invalidParameter = "An invalid parameter was used."
|
||||
}
|
||||
|
||||
final class LocalAccountDelegate: AccountDelegate {
|
||||
|
||||
weak var account: Account?
|
||||
|
||||
Reference in new issue
Block a user