mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-08 05:54:20 +08:00
Fix displaying error alert on macOS
This commit is contained in:
parent
82577828f8
commit
bc2a4d9d37
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ func buildReleaseTask() -> Process {
|
|||
}
|
||||
|
||||
func runAlert(messageText: String) {
|
||||
DispatchQueue.main.async {
|
||||
DispatchQueue.main.sync {
|
||||
let alert = NSAlert()
|
||||
alert.alertStyle = .critical
|
||||
alert.messageText = messageText
|
||||
|
|
Loading…
Add table
Reference in a new issue