fix(dialog): pub export Dialog (#2108)

fixes #2107
This commit is contained in:
Fabian-Lars
2024-11-27 11:59:55 +01:00
committed by GitHub
parent 241319ae1d
commit 76f99ce999
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
dialog: patch
---
The `Dialog` struct is now correctly exported, primarily to fix the documentation on `docs.rs`.
+5
View File
@@ -39,6 +39,11 @@ use desktop::*;
#[cfg(mobile)]
use mobile::*;
#[cfg(desktop)]
pub use desktop::Dialog;
#[cfg(mobile)]
pub use mobile::Dialog;
pub(crate) const OK: &str = "Ok";
pub(crate) const CANCEL: &str = "Cancel";
pub(crate) const YES: &str = "Yes";