fix(about): use fde::IconSource following commit 9b9600a5d6
This commit is contained in:
parent
3df0e5c2fe
commit
0ddde755ee
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use {
|
||||
crate::{
|
||||
Element,
|
||||
desktop::{IconSourceExt, fde},
|
||||
iced::{Alignment, Length},
|
||||
widget::{self, horizontal_space},
|
||||
},
|
||||
|
|
@ -140,7 +141,7 @@ pub fn about<'a, Message: Clone + 'static>(
|
|||
let application_icon = about
|
||||
.icon
|
||||
.as_ref()
|
||||
.map(|icon| crate::desktop::IconSource::Name(icon.clone()).as_cosmic_icon());
|
||||
.map(|icon| fde::IconSource::Name(icon.clone()).as_cosmic_icon());
|
||||
let author = about.author.as_ref().map(widget::text::body);
|
||||
let version = about.version.as_ref().map(widget::button::standard);
|
||||
let links_section = section(&about.links, "Links");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue