Skip to content

Commit

Permalink
AuthViewController: Drops dead API(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleandroperez committed Jul 26, 2024
1 parent 5cbb302 commit 7e5a60a
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Simplenote/AuthViewController+Swift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ extension AuthViewController {
state.password
}

var authWindowController: AuthWindowController? {
view.window?.windowController as? AuthWindowController
}

/// # All of the Action Views
///
private var allActionViews: [NSButton] {
Expand Down Expand Up @@ -235,11 +231,6 @@ extension AuthViewController {
// MARK: - Handlers
//
extension AuthViewController {

@IBAction
func switchToPasswordAuth(_ sender: Any) {
mode = AuthenticationMode.loginWithPassword
}

@objc
func performSignupRequest() {
Expand Down Expand Up @@ -406,15 +397,6 @@ extension AuthViewController {
let vc = SignupVerificationViewController(email: email, authenticator: authenticator)
view.window?.transition(to: vc)
}

//TODO: Drop this method?
func presentMagicLinkRequestedView(email: String) {
guard let authWindowController else {
return
}

authWindowController.switchToMagicLinkRequestedUI(email: email)
}
}


Expand Down

0 comments on commit 7e5a60a

Please sign in to comment.