We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Dialog
1 parent 241319a commit 76f99ceCopy full SHA for 76f99ce
.changes/fix-dialog-export-dialog.md
@@ -0,0 +1,5 @@
1
+---
2
+dialog: patch
3
4
+
5
+The `Dialog` struct is now correctly exported, primarily to fix the documentation on `docs.rs`.
plugins/dialog/src/lib.rs
@@ -39,6 +39,11 @@ use desktop::*;
39
#[cfg(mobile)]
40
use mobile::*;
41
42
+#[cfg(desktop)]
43
+pub use desktop::Dialog;
44
+#[cfg(mobile)]
45
+pub use mobile::Dialog;
46
47
pub(crate) const OK: &str = "Ok";
48
pub(crate) const CANCEL: &str = "Cancel";
49
pub(crate) const YES: &str = "Yes";
0 commit comments