chore: update dependencies and examples
This commit is contained in:
parent
6c6d16d34a
commit
54bcb9ec12
10 changed files with 76 additions and 87 deletions
|
|
@ -5,12 +5,6 @@ use crate::Element;
|
|||
use crate::widget::{ListColumn, column, text};
|
||||
use std::borrow::Cow;
|
||||
|
||||
/// A section within a settings view column.
|
||||
#[deprecated(note = "use `settings::section().title()` instead")]
|
||||
pub fn view_section<'a, Message: 'static>(title: impl Into<Cow<'a, str>>) -> Section<'a, Message> {
|
||||
section().title(title)
|
||||
}
|
||||
|
||||
/// A section within a settings view column.
|
||||
pub fn section<'a, Message: 'static>() -> Section<'a, Message> {
|
||||
with_column(ListColumn::default())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue