Skip to content

Commit

Permalink
Fix message_dialog flag (#4204)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
probablykasper and lucasfernog authored May 25, 2022
1 parent c479922 commit 80458a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/dialog-flag-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Fix ``cannot find macro `message_dialog` `` error.
1 change: 0 additions & 1 deletion core/tauri/src/endpoints/dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use tauri_macros::{command_enum, module_command_handler, CommandModule};

use std::path::PathBuf;

#[cfg(any(dialog_message, dialog_ask, dialog_confirm))]
macro_rules! message_dialog {
($fn_name: ident, $allowlist: ident, $buttons: expr) => {
#[module_command_handler($allowlist)]
Expand Down

0 comments on commit 80458a0

Please sign in to comment.