chore(about): remove unimplemented related settings section
This commit is contained in:
parent
a0630a08d1
commit
866971c14a
1 changed files with 11 additions and 11 deletions
|
|
@ -34,7 +34,6 @@ impl page::Page<crate::pages::Message> for Page {
|
||||||
sections.insert(device()),
|
sections.insert(device()),
|
||||||
sections.insert(hardware()),
|
sections.insert(hardware()),
|
||||||
sections.insert(os()),
|
sections.insert(os()),
|
||||||
sections.insert(related()),
|
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -185,16 +184,17 @@ fn os() -> Section<crate::pages::Message> {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
fn related() -> Section<crate::pages::Message> {
|
// Related settings: for 2nd COSMIC release
|
||||||
Section::default()
|
// fn related() -> Section<crate::pages::Message> {
|
||||||
.title(fl!("about-related"))
|
// Section::default()
|
||||||
.descriptions(vec![fl!("about-related", "support").into()])
|
// .title(fl!("about-related"))
|
||||||
.view::<Page>(|_binder, _page, section| {
|
// .descriptions(vec![fl!("about-related", "support").into()])
|
||||||
settings::view_section(§ion.title)
|
// .view::<Page>(|_binder, _page, section| {
|
||||||
.add(settings::item(&*section.descriptions[0], text("TODO")))
|
// settings::view_section(§ion.title)
|
||||||
.into()
|
// .add(settings::item(&*section.descriptions[0], text("TODO")))
|
||||||
})
|
// .into()
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
// fn page(app: &crate::SettingsApp) -> &Page {
|
// fn page(app: &crate::SettingsApp) -> &Page {
|
||||||
// app.pages
|
// app.pages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue