refactor: undo changes to radio
This commit is contained in:
parent
e2166ecad0
commit
bc26dff2ca
3 changed files with 22 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ where
|
|||
f: F,
|
||||
) -> Self
|
||||
where
|
||||
V: PartialEq + Copy,
|
||||
V: Eq + Copy,
|
||||
F: FnOnce(V) -> Message,
|
||||
{
|
||||
Radio {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue