Fix checkbox rendering its label unconditionally

This commit is contained in:
Héctor Ramón Jiménez 2025-11-29 11:49:19 +01:00
parent 40d242bbe1
commit 8b2b302762
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -439,6 +439,10 @@ where
}
}
if self.label.is_none() {
return;
}
{
let label_layout = children.next().unwrap();
let state: &widget::text::State<Renderer::Paragraph> =