fix: make buttons text buttons again

This commit is contained in:
Ashley Wulber 2023-08-18 16:30:32 -04:00
parent d2f721f251
commit d414258b9c
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::Secondary) crate::widget::button(theme::Button::Text)
.icon(theme::Svg::Symbolic, icon_name, self.suggested_size().0) .icon(theme::Svg::Symbolic, icon_name, self.suggested_size().0)
.padding(8) .padding(8)
} }