From 5454a01461bf5e394b6e0dcf6a4cc206c1156141 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 18 Sep 2023 13:47:14 -0400 Subject: [PATCH] fix(applet): use text button style --- src/applet/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applet/mod.rs b/src/applet/mod.rs index ace7a214..ae072281 100644 --- a/src/applet/mod.rs +++ b/src/applet/mod.rs @@ -28,7 +28,7 @@ pub fn button_theme() -> Button { Button::Custom { active: Box::new(|active, t| widget::button::Appearance { border_radius: 0.0.into(), - ..t.active(active, &Button::Standard) + ..t.active(active, &Button::Text) }), hovered: Box::new(|hovered, t| widget::button::Appearance { border_radius: 0.0.into(), @@ -40,7 +40,7 @@ pub fn button_theme() -> Button { }), disabled: Box::new(|t| widget::button::Appearance { border_radius: 0.0.into(), - ..t.disabled(&Button::Standard) + ..t.disabled(&Button::Text) }), } }