fix(dialog): using AsyncMessageDialog for non linux, closes tauri#7182 (#445)

This commit is contained in:
Jason Tsai
2023-08-07 20:34:16 +08:00
committed by GitHub
parent 7d9df7297a
commit be591d2feb
3 changed files with 17 additions and 5 deletions
+3 -1
View File
@@ -209,7 +209,9 @@ impl<R: Runtime> MessageDialogBuilder<R> {
show_message_dialog(self, f)
}
//// Shows a message dialog.
/// Shows a message dialog.
/// This is a blocking operation,
/// and should *NOT* be used when running on the main thread context.
pub fn blocking_show(self) -> bool {
blocking_fn!(self, show)
}