refactor: switch applet back to secondary button

This commit is contained in:
Ashley Wulber 2023-08-17 16:19:45 -04:00
parent b70736d530
commit 4ba363669e
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -128,7 +128,7 @@ impl CosmicAppletHelper {
&self, &self,
icon_name: &'a str, icon_name: &'a str,
) -> iced::widget::Button<'a, Message, Renderer> { ) -> iced::widget::Button<'a, Message, Renderer> {
crate::widget::button(theme::Button::Text) crate::widget::button(theme::Button::Secondary)
.icon(theme::Svg::Symbolic, icon_name, self.suggested_size().0) .icon(theme::Svg::Symbolic, icon_name, self.suggested_size().0)
.padding(8) .padding(8)
} }