From 64c93ed118ba621d73b1b96c0dbdcf943e71fee0 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 29 Oct 2020 15:19:30 -0500 Subject: [PATCH] Enable credentials for newer sync services --- .../Accounts/AccountsDetailViewController.swift | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Mac/Preferences/Accounts/AccountsDetailViewController.swift b/Mac/Preferences/Accounts/AccountsDetailViewController.swift index 5ca513c02..390fb3c18 100644 --- a/Mac/Preferences/Accounts/AccountsDetailViewController.swift +++ b/Mac/Preferences/Accounts/AccountsDetailViewController.swift @@ -72,18 +72,23 @@ final class AccountsDetailViewController: NSViewController, NSTextFieldDelegate accountsFeedbinWindowController.account = account accountsFeedbinWindowController.runSheetOnWindow(self.view.window!) accountsWindowController = accountsFeedbinWindowController - case .freshRSS: - let accountsFreshRSSWindowController = AccountsReaderAPIWindowController() - accountsFreshRSSWindowController.accountType = account.type - accountsFreshRSSWindowController.account = account - accountsFreshRSSWindowController.runSheetOnWindow(self.view.window!) - accountsWindowController = accountsFreshRSSWindowController + case .inoreader, .bazQux, .theOldReader, .freshRSS: + let accountsReaderAPIWindowController = AccountsReaderAPIWindowController() + accountsReaderAPIWindowController.accountType = account.type + accountsReaderAPIWindowController.account = account + accountsReaderAPIWindowController.runSheetOnWindow(self.view.window!) + accountsWindowController = accountsReaderAPIWindowController break case .feedWrangler: let accountsFeedWranglerWindowController = AccountsFeedWranglerWindowController() accountsFeedWranglerWindowController.account = account accountsFeedWranglerWindowController.runSheetOnWindow(self.view.window!) accountsWindowController = accountsFeedWranglerWindowController + case .newsBlur: + let accountsNewsBlurWindowController = AccountsNewsBlurWindowController() + accountsNewsBlurWindowController.account = account + accountsNewsBlurWindowController.runSheetOnWindow(self.view.window!) + accountsWindowController = accountsNewsBlurWindowController default: break }