From 6acebb727d2ded1bdd5a4ae6638adfeb2519508b Mon Sep 17 00:00:00 2001 From: Adanos020 Date: Mon, 12 Jun 2023 23:13:58 +0100 Subject: [PATCH] Fix WASM build error --- src/backend/wasm.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/wasm.rs b/src/backend/wasm.rs index b495759..e735183 100644 --- a/src/backend/wasm.rs +++ b/src/backend/wasm.rs @@ -169,7 +169,8 @@ extern "C" { fn confirm(s: &str) -> bool; } -use crate::message_dialog::{MessageButtons, MessageDialog, MessageDialogImpl}; +use crate::backend::MessageDialogImpl; +use crate::message_dialog::{MessageButtons, MessageDialog}; impl MessageDialogImpl for MessageDialog { fn show(self) -> MessageDialogResult {