Skip to content

Commit

Permalink
Fix connect view controller alert actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tagavari committed Aug 8, 2022
1 parent dda25c0 commit c987382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AirMessage/Controllers/AccountConnectViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class AccountConnectViewController: NSViewController {
}
alert.addButton(withTitle: NSLocalizedString("action.cancel", comment: ""))
alert.beginSheetModal(for: view.window!) { response in
if response == .alertSecondButtonReturn {
if response == .alertFirstButtonReturn {
//Reconnect and try again
self.isConnecting = true
ConnectionManager.shared.start()
Expand Down

0 comments on commit c987382

Please sign in to comment.