From e8c6c1ba04f0e9264f6649dbcc0954cf51b603ff Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Wed, 5 Nov 2025 18:14:16 -0300 Subject: [PATCH] agent_ui: Fix how icons from external agents are displayed (#42034) Release Notes: - N/A --- crates/agent_ui/src/agent_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index 9f7c6caaa8a0be8836f650ba880a863ff7b33059..10b64400b2cb3fc8887f4d59a2db126881dfe29e 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -2081,7 +2081,7 @@ impl AgentPanel { let mut entry = ContextMenuEntry::new(format!("New {}", agent_name)); if let Some(icon_path) = icon_path { - entry = entry.custom_icon_path(icon_path); + entry = entry.custom_icon_svg(icon_path); } else { entry = entry.icon(IconName::Terminal); }