mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +01:00
minor style change
This commit is contained in:
parent
17759255e7
commit
57ccaeac70
@ -452,7 +452,7 @@ final class ReaderAPICaller: NSObject {
|
||||
}
|
||||
|
||||
private func changeSubscription(subscriptionID: String, removeTagName: String? = nil, addTagName: String? = nil, title: String? = nil, completion: @escaping (Result<Void, Error>) -> Void) {
|
||||
if removeTagName == nil && addTagName == nil && title == nil {
|
||||
guard removeTagName != nil || addTagName != nil || title != nil else {
|
||||
completion(.failure(ReaderAPIAccountDelegateError.invalidParameter))
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user