Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent_ui: Fix how icons from external agents are displayed (#42034)
Danilo Leale8c6c1ba04f0
diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rsindex 9f7c6caaa8a..10b64400b2c 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);}