Fixed radio colors

This commit is contained in:
veeso
2021-03-14 17:12:02 +01:00
parent 4a7eb831b8
commit ad9ed8facf

View File

@@ -133,7 +133,7 @@ impl Component for RadioGroup {
self.props.background, self.props.background,
self.props.foreground, self.props.foreground,
), ),
false => (Color::Reset, Color::Reset, Color::Reset), false => (Color::Reset, self.props.foreground, Color::Reset),
}; };
let title: String = match &self.props.texts.title { let title: String = match &self.props.texts.title {
Some(t) => t.clone(), Some(t) => t.clone(),