diff --git a/assets/icons/text_select.svg b/assets/icons/text_select.svg new file mode 100644 index 0000000000..255635de6a --- /dev/null +++ b/assets/icons/text_select.svg @@ -0,0 +1 @@ + diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs index 6068963064..2ab0287a6d 100644 --- a/crates/assistant/src/assistant_panel.rs +++ b/crates/assistant/src/assistant_panel.rs @@ -4470,7 +4470,7 @@ fn quote_selection_fold_placeholder(title: String, editor: WeakView) -> ButtonLike::new(fold_id) .style(ButtonStyle::Filled) .layer(ElevationIndex::ElevatedSurface) - .child(Icon::new(IconName::FileText)) + .child(Icon::new(IconName::TextSelect)) .child(Label::new(title.clone()).single_line()) .on_click(move |_, cx| { editor diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rs index 9091b7b00b..b0062f5d67 100644 --- a/crates/ui/src/components/icon.rs +++ b/crates/ui/src/components/icon.rs @@ -254,6 +254,7 @@ pub enum IconName { Tab, Terminal, TextCursor, + TextSelect, Trash, TriangleRight, Undo, @@ -417,6 +418,7 @@ impl IconName { IconName::Tab => "icons/tab.svg", IconName::Terminal => "icons/terminal.svg", IconName::TextCursor => "icons/text-cursor.svg", + IconName::TextSelect => "icons/text_select.svg", IconName::Trash => "icons/trash.svg", IconName::TriangleRight => "icons/triangle_right.svg", IconName::Update => "icons/update.svg",