Unbreak the Mac build by fixing a reference to addOperation.

This commit is contained in:
Brent Simmons 2020-02-05 22:30:05 -08:00
parent 80b4dfd5a8
commit 5193df5035
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ extension AccountsAddViewController: NSTableViewDelegate {
let addAccount = OAuthAccountAuthorizationOperation(accountType: .feedly)
addAccount.delegate = self
addAccount.presentationAnchor = self.view.window!
MainThreadOperationQueue.shared.addOperation(addAccount)
MainThreadOperationQueue.shared.add(addAccount)
default:
break
}