diff --git a/crates/agent_ui/src/text_thread_editor.rs b/crates/agent_ui/src/text_thread_editor.rs index 52efdf13be230d3fe6658e254f5d3f1a01b8211f..340a3eada3c1c102351ce05bac483f8f6272d925 100644 --- a/crates/agent_ui/src/text_thread_editor.rs +++ b/crates/agent_ui/src/text_thread_editor.rs @@ -2204,13 +2204,11 @@ impl TextThreadEditor { let provider_icon_element = if let Some(icon_path) = provider_icon_path { Icon::from_external_svg(icon_path) - .color(color) - .size(IconSize::XSmall) } else { Icon::new(provider_icon_name) - .color(color) - .size(IconSize::XSmall) - }; + } + .color(color) + .size(IconSize::XSmall); PickerPopoverMenu::new( self.language_model_selector.clone(),