Skip to content

Commit

Permalink
fix(widget): container inherited wrong icon color from renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Sep 7, 2023
1 parent 8b2389f commit 497edfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ where
&renderer::Style {
icon_color: style
.icon_color
.unwrap_or(renderer_style.text_color),
.unwrap_or(renderer_style.icon_color),
text_color: style
.text_color
.unwrap_or(renderer_style.text_color),
Expand Down

0 comments on commit 497edfc

Please sign in to comment.