diff --git a/cosmic-settings/src/pages/desktop/appearance.rs b/cosmic-settings/src/pages/desktop/appearance.rs index 1826eea..70e3fe1 100644 --- a/cosmic-settings/src/pages/desktop/appearance.rs +++ b/cosmic-settings/src/pages/desktop/appearance.rs @@ -1548,12 +1548,10 @@ pub fn reset_button() -> Section { Section::default() .descriptions(vec![fl!("reset-to-default").into()]) .view::(|_binder, page, section| { - let spacing = &page.theme_builder.spacing; let descriptions = §ion.descriptions; if page.can_reset { button::standard(&*descriptions[0]) .on_press(Message::Reset) - .padding([spacing.space_xxs, spacing.space_xs]) .into() } else { horizontal_space(1).apply(Element::from)