fix(widget): set SegmentedButton icon color to be same as text

This commit is contained in:
Michael Aaron Murphy 2023-09-19 16:41:14 +02:00
parent da35c7deb4
commit ce7c0ffc22
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -521,7 +521,11 @@ where
&Tree::empty(),
renderer,
theme,
style,
&renderer::Style {
icon_color: status_appearance.text_color,
text_color: status_appearance.text_color,
scale_factor: style.scale_factor,
},
Layout::new(&layout_node),
cursor,
viewport,
@ -575,7 +579,11 @@ where
&Tree::empty(),
renderer,
theme,
style,
&renderer::Style {
icon_color: status_appearance.text_color,
text_color: status_appearance.text_color,
scale_factor: style.scale_factor,
},
Layout::new(&layout_node),
cursor,
viewport,