From 866971c14adcfc79ef37fe4a937dfe722134e149 Mon Sep 17 00:00:00 2001 From: W <150025636+git-f0x@users.noreply.github.com> Date: Tue, 30 Apr 2024 00:18:49 +0200 Subject: [PATCH] chore(about): remove unimplemented related settings section --- cosmic-settings/src/pages/system/about.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cosmic-settings/src/pages/system/about.rs b/cosmic-settings/src/pages/system/about.rs index 64b3a01..a809433 100644 --- a/cosmic-settings/src/pages/system/about.rs +++ b/cosmic-settings/src/pages/system/about.rs @@ -34,7 +34,6 @@ impl page::Page for Page { sections.insert(device()), sections.insert(hardware()), sections.insert(os()), - sections.insert(related()), ]) } @@ -185,16 +184,17 @@ fn os() -> Section { }) } -fn related() -> Section { - Section::default() - .title(fl!("about-related")) - .descriptions(vec![fl!("about-related", "support").into()]) - .view::(|_binder, _page, section| { - settings::view_section(§ion.title) - .add(settings::item(&*section.descriptions[0], text("TODO"))) - .into() - }) -} +// Related settings: for 2nd COSMIC release +// fn related() -> Section { +// Section::default() +// .title(fl!("about-related")) +// .descriptions(vec![fl!("about-related", "support").into()]) +// .view::(|_binder, _page, section| { +// settings::view_section(§ion.title) +// .add(settings::item(&*section.descriptions[0], text("TODO"))) +// .into() +// }) +// } // fn page(app: &crate::SettingsApp) -> &Page { // app.pages