summaryrefslogtreecommitdiffstats
path: root/native/src/widget/radio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/radio.rs')
-rw-r--r--native/src/widget/radio.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/native/src/widget/radio.rs b/native/src/widget/radio.rs
index bd803910..5f60eaef 100644
--- a/native/src/widget/radio.rs
+++ b/native/src/widget/radio.rs
@@ -268,7 +268,6 @@ where
{
let label_layout = children.next().unwrap();
- let font = self.font.unwrap_or(renderer.default_font());
widget::text::draw(
renderer,
@@ -276,7 +275,7 @@ where
label_layout,
&self.label,
self.text_size,
- font,
+ self.font,
widget::text::Appearance {
color: custom_style.text_color,
},