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(hardware()),
|
||||
sections.insert(os()),
|
||||
sections.insert(related()),
|
||||
])
|
||||
}
|
||||
|
||||
|
|
@ -185,16 +184,17 @@ fn os() -> Section<crate::pages::Message> {
|
|||
})
|
||||
}
|
||||
|
||||
fn related() -> Section<crate::pages::Message> {
|
||||
Section::default()
|
||||
.title(fl!("about-related"))
|
||||
.descriptions(vec![fl!("about-related", "support").into()])
|
||||
.view::<Page>(|_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<crate::pages::Message> {
|
||||
// Section::default()
|
||||
// .title(fl!("about-related"))
|
||||
// .descriptions(vec![fl!("about-related", "support").into()])
|
||||
// .view::<Page>(|_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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue