Skip to content

Commit 80458a0

Browse files
Fix message_dialog flag (#4204)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent c479922 commit 80458a0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changes/dialog-flag-fix.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": patch
3+
---
4+
5+
Fix ``cannot find macro `message_dialog` `` error.

core/tauri/src/endpoints/dialog.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use tauri_macros::{command_enum, module_command_handler, CommandModule};
1313

1414
use std::path::PathBuf;
1515

16-
#[cfg(any(dialog_message, dialog_ask, dialog_confirm))]
1716
macro_rules! message_dialog {
1817
($fn_name: ident, $allowlist: ident, $buttons: expr) => {
1918
#[module_command_handler($allowlist)]

0 commit comments

Comments
 (0)