chore: bump libcosmic and update panel button...

... to use colored icons
This commit is contained in:
Ryan Brue 2024-05-06 18:21:49 -05:00 committed by Ashley Wulber
parent 5d4ef77367
commit c2e7fddc7e
2 changed files with 19 additions and 19 deletions

View file

@ -98,9 +98,9 @@ impl cosmic::Application for Button {
)
|| matches!(self.config.force_presentation, Some(Override::Icon))
{
self.core
.applet
.icon_button(self.desktop.icon.as_ref().unwrap())
self.core.applet.icon_button_from_handle(
cosmic::widget::icon::from_name(self.desktop.icon.clone().unwrap()).handle(),
)
} else {
let content = row!(
text(&self.desktop.name).size(14.0),