fix: add size to named icon

This commit is contained in:
Ashley Wulber 2024-01-05 10:42:22 -05:00 committed by Ashley Wulber
parent fdfa667f38
commit f812be8554

View file

@ -265,6 +265,7 @@ impl IconSource {
fn as_cosmic_icon(&self) -> cosmic::widget::icon::Icon {
match self {
Self::Name(name) => cosmic::widget::icon::from_name(name.as_str())
.size(128)
.fallback(Some(cosmic::widget::icon::IconFallback::Names(vec![
"application-default".into(),
"application-x-executable".into(),