This commit is contained in:
Brent Simmons 2024-08-05 17:57:33 -07:00
commit 82fef8c237
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ final class AccountsPreferencesViewController: NSViewController {
@IBOutlet weak var deleteButton: NSButton!
var addAccountDelegate: AccountsPreferencesAddAccountDelegate?
var addAccountWindowController: NSWindowController?
var addAccountsViewController: NSHostingController<AddAccountsView>?
private var sortedAccounts = [Account]()
@ -53,6 +54,7 @@ final class AccountsPreferencesViewController: NSViewController {
let controller = NSHostingController(rootView: AddAccountsView(delegate: self))
controller.rootView.parent = controller
presentAsSheet(controller)
addAccountsViewController = controller
}
@IBAction func removeAccount(_ sender: Any) {