Enable credentials for newer sync services

This commit is contained in:
Maurice Parker 2020-10-29 15:19:30 -05:00
parent 1cfe248c6a
commit 64c93ed118
1 changed files with 11 additions and 6 deletions

View File

@ -72,18 +72,23 @@ final class AccountsDetailViewController: NSViewController, NSTextFieldDelegate
accountsFeedbinWindowController.account = account accountsFeedbinWindowController.account = account
accountsFeedbinWindowController.runSheetOnWindow(self.view.window!) accountsFeedbinWindowController.runSheetOnWindow(self.view.window!)
accountsWindowController = accountsFeedbinWindowController accountsWindowController = accountsFeedbinWindowController
case .freshRSS: case .inoreader, .bazQux, .theOldReader, .freshRSS:
let accountsFreshRSSWindowController = AccountsReaderAPIWindowController() let accountsReaderAPIWindowController = AccountsReaderAPIWindowController()
accountsFreshRSSWindowController.accountType = account.type accountsReaderAPIWindowController.accountType = account.type
accountsFreshRSSWindowController.account = account accountsReaderAPIWindowController.account = account
accountsFreshRSSWindowController.runSheetOnWindow(self.view.window!) accountsReaderAPIWindowController.runSheetOnWindow(self.view.window!)
accountsWindowController = accountsFreshRSSWindowController accountsWindowController = accountsReaderAPIWindowController
break break
case .feedWrangler: case .feedWrangler:
let accountsFeedWranglerWindowController = AccountsFeedWranglerWindowController() let accountsFeedWranglerWindowController = AccountsFeedWranglerWindowController()
accountsFeedWranglerWindowController.account = account accountsFeedWranglerWindowController.account = account
accountsFeedWranglerWindowController.runSheetOnWindow(self.view.window!) accountsFeedWranglerWindowController.runSheetOnWindow(self.view.window!)
accountsWindowController = accountsFeedWranglerWindowController accountsWindowController = accountsFeedWranglerWindowController
case .newsBlur:
let accountsNewsBlurWindowController = AccountsNewsBlurWindowController()
accountsNewsBlurWindowController.account = account
accountsNewsBlurWindowController.runSheetOnWindow(self.view.window!)
accountsWindowController = accountsNewsBlurWindowController
default: default:
break break
} }