1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-08 04:20:07 +02:00

👌 Improved alert for sponsor encouragement

This commit is contained in:
2022-02-17 19:07:20 +01:00
parent 97d68f89f1
commit d06f92051d
6 changed files with 98 additions and 73 deletions

View File

@ -38,6 +38,10 @@ class BetterAlertVC: NSViewController {
}
}
override func viewDidAppear() {
view.window?.makeFirstResponder(buttonPrimary)
}
@IBAction func primaryButtonAction(_ sender: Any) {
self.actionPrimary(self)
}