diff --git a/cosmic-settings/src/pages/desktop/appearance.rs b/cosmic-settings/src/pages/desktop/appearance.rs index bbd2703..14f2212 100644 --- a/cosmic-settings/src/pages/desktop/appearance.rs +++ b/cosmic-settings/src/pages/desktop/appearance.rs @@ -289,7 +289,6 @@ pub enum Message { ExportError, ExportFile(Arc), ExportSuccess, - Frosted(bool), GapSize(spin_button::Message), IconTheme(usize), ImportError, @@ -532,11 +531,6 @@ impl Page { ); Command::batch(vec![cmd, self.accent_window_hint.update::(u)]) } - Message::Frosted(enabled) => { - self.theme_builder_needs_update = true; - self.theme_builder.is_frosted = enabled; - Command::none() - } Message::IconTheme(id) => { if let Some(theme) = self.icon_themes.get(id).cloned() { self.icon_theme_active = Some(id); @@ -1418,8 +1412,6 @@ pub fn style() -> Section { fl!("style", "round").into(), fl!("style", "slightly-round").into(), fl!("style", "square").into(), - fl!("frosted").into(), - fl!("frosted", "desc").into(), ]) .view::(|_binder, page, section| { let descriptions = §ion.descriptions; @@ -1503,11 +1495,6 @@ pub fn style() -> Section { .width(Length::Fill) .align_x(cosmic::iced_core::alignment::Horizontal::Center), ) - .add( - settings::item::builder(&*descriptions[3]) - .description(&*descriptions[4]) - .toggler(page.theme_builder.is_frosted, Message::Frosted), - ) .apply(Element::from) .map(crate::pages::Message::Appearance) })