fix: suggestions
This commit is contained in:
parent
8c425cc6d4
commit
ed5fe4bccc
4 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
iced
2
iced
|
|
@ -1 +1 @@
|
|||
Subproject commit 3297263977365a5d7e4c4cd9bbc13613b674763b
|
||||
Subproject commit a7e035cd852ab13ce0ef04671c1e683fc343aff6
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue