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

fixes #2107
pull/2102/head
Fabian-Lars 6 months ago committed by GitHub
parent 241319ae1d
commit 76f99ce999
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
dialog: patch
---
The `Dialog` struct is now correctly exported, primarily to fix the documentation on `docs.rs`.

@ -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";

Loading…
Cancel
Save