diff --git a/examples/about/src/main.rs b/examples/about/src/main.rs index 1e299444..cf6e3d70 100644 --- a/examples/about/src/main.rs +++ b/examples/about/src/main.rs @@ -6,7 +6,7 @@ use cosmic::app::{Core, Settings, Task}; use cosmic::iced::widget::column; use cosmic::iced_core::Size; -use cosmic::widget::{self, nav_bar, About}; +use cosmic::widget::{self, about::About, nav_bar}; use cosmic::{executor, iced, ApplicationExt, Element}; /// Runs application with these settings diff --git a/iced b/iced index 32972639..a7e035cd 160000 --- a/iced +++ b/iced @@ -1 +1 @@ -Subproject commit 3297263977365a5d7e4c4cd9bbc13613b674763b +Subproject commit a7e035cd852ab13ce0ef04671c1e683fc343aff6 diff --git a/src/widget/about.rs b/src/widget/about.rs index 9eacc1f9..c893ef38 100644 --- a/src/widget/about.rs +++ b/src/widget/about.rs @@ -8,7 +8,6 @@ use { std::collections::BTreeMap, }; -#[cfg(feature = "desktop")] #[derive(Debug, Default, Clone, derive_setters::Setters)] #[setters(prefix = "set_", into, strip_option)] /// Information about the application. @@ -126,7 +125,6 @@ impl About { } } -#[cfg(feature = "desktop")] /// Constructs the widget for the about section. pub fn about<'a, Message: Clone + 'static>( about: &'a About, diff --git a/src/widget/mod.rs b/src/widget/mod.rs index d290dbb6..b84e54ef 100644 --- a/src/widget/mod.rs +++ b/src/widget/mod.rs @@ -370,4 +370,4 @@ pub use iced::widget::markdown; pub mod about; #[cfg(feature = "desktop")] #[doc(inline)] -pub use about::{about, About}; +pub use about::about;