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::app::{Core, Settings, Task};
|
||||||
use cosmic::iced::widget::column;
|
use cosmic::iced::widget::column;
|
||||||
use cosmic::iced_core::Size;
|
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};
|
use cosmic::{executor, iced, ApplicationExt, Element};
|
||||||
|
|
||||||
/// Runs application with these settings
|
/// 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,
|
std::collections::BTreeMap,
|
||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "desktop")]
|
|
||||||
#[derive(Debug, Default, Clone, derive_setters::Setters)]
|
#[derive(Debug, Default, Clone, derive_setters::Setters)]
|
||||||
#[setters(prefix = "set_", into, strip_option)]
|
#[setters(prefix = "set_", into, strip_option)]
|
||||||
/// Information about the application.
|
/// Information about the application.
|
||||||
|
|
@ -126,7 +125,6 @@ impl About {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "desktop")]
|
|
||||||
/// Constructs the widget for the about section.
|
/// Constructs the widget for the about section.
|
||||||
pub fn about<'a, Message: Clone + 'static>(
|
pub fn about<'a, Message: Clone + 'static>(
|
||||||
about: &'a About,
|
about: &'a About,
|
||||||
|
|
|
||||||
|
|
@ -370,4 +370,4 @@ pub use iced::widget::markdown;
|
||||||
pub mod about;
|
pub mod about;
|
||||||
#[cfg(feature = "desktop")]
|
#[cfg(feature = "desktop")]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use about::{about, About};
|
pub use about::about;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue