From 497edfca17acd71d9fcfd6497259fec62b0c6d41 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Thu, 7 Sep 2023 16:52:53 +0200 Subject: [PATCH] fix(widget): container inherited wrong icon color from renderer --- widget/src/container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/container.rs b/widget/src/container.rs index f44e66a6d0..6ab9530ebc 100644 --- a/widget/src/container.rs +++ b/widget/src/container.rs @@ -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),