refactor: undo changes to radio

This commit is contained in:
Ashley Wulber 2022-09-07 12:04:56 -04:00 committed by Héctor Ramón Jiménez
parent e2166ecad0
commit bc26dff2ca
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 22 additions and 11 deletions

View file

@ -143,7 +143,7 @@ where
Message: Clone,
Renderer: crate::text::Renderer,
Renderer::Theme: widget::radio::StyleSheet,
V: Copy + PartialEq,
V: Copy + Eq,
{
widget::Radio::new(value, label, selected, on_click)
}

View file

@ -84,7 +84,7 @@ where
f: F,
) -> Self
where
V: PartialEq + Copy,
V: Eq + Copy,
F: FnOnce(V) -> Message,
{
Radio {