Implement Radio in iced_pure

This commit is contained in:
Héctor Ramón Jiménez 2022-02-13 22:13:47 +07:00
parent e50e639b0e
commit 53f3820432
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 142 additions and 1 deletions

View file

@ -81,7 +81,7 @@ where
) -> Self
where
V: Eq + Copy,
F: 'static + Fn(V) -> Message,
F: FnOnce(V) -> Message,
{
Radio {
is_selected: Some(value) == selected,