Radiobutton label is now impl Into<String>
This commit is contained in:
parent
15f5b93a0d
commit
1a9bfd9e73
2 changed files with 9 additions and 3 deletions
|
|
@ -528,9 +528,10 @@ impl<'a> Step {
|
|||
.push(Language::all().iter().cloned().fold(
|
||||
Column::new().padding(10).spacing(20),
|
||||
|choices, language| {
|
||||
let label: &str = language.into();
|
||||
choices.push(Radio::new(
|
||||
language,
|
||||
language.into(),
|
||||
label,
|
||||
selection,
|
||||
StepMessage::LanguageSelected,
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue