Change label of Toggler to optional

This commit is contained in:
Kaiden42 2020-09-24 16:31:39 +02:00 committed by Héctor Ramón
parent aa18a6e0d5
commit 7a626f3b7b
3 changed files with 53 additions and 32 deletions

View file

@ -299,7 +299,7 @@ impl toggler::Renderer for Null {
_bounds: Rectangle,
_is_checked: bool,
_is_mouse_over: bool,
_label: Self::Output,
_label: Option<Self::Output>,
_style: &Self::Style,
) {
}