mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-04 15:47:50 +02:00
fix(dialog): using AsyncMessageDialog for non linux, closes tauri#7182 (#445)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user