From 6eaaced60ddde43d569e6c1e074ba45740df4e7a Mon Sep 17 00:00:00 2001 From: k4leg Date: Tue, 21 Jan 2025 22:33:08 +0300 Subject: [PATCH] Fix button demo in the component preview (#23423) Problem: If you click on "Tinted Icons", "Icon Color" is also activated. Release Notes: - N/A --- crates/ui/src/components/button/button.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/components/button/button.rs b/crates/ui/src/components/button/button.rs index 74548c48b8..1e0e8a6237 100644 --- a/crates/ui/src/components/button/button.rs +++ b/crates/ui/src/components/button/button.rs @@ -527,7 +527,7 @@ impl ComponentPreview for Button { ), single_example( "Tinted Icons", - Button::new("icon_color", "Error") + Button::new("tinted_icons", "Error") .style(ButtonStyle::Tinted(TintColor::Error)) .color(Color::Error) .icon_color(Color::Error)