Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant2: Use a label to render the thread menu item (#22316)
Danilo Leal9efa13116d91
diff --git a/crates/assistant2/src/context_picker/thread_context_picker.rs b/crates/assistant2/src/context_picker/thread_context_picker.rsindex 1191f58b9e9..78e840114a4 100644--- a/crates/assistant2/src/context_picker/thread_context_picker.rs+++ b/crates/assistant2/src/context_picker/thread_context_picker.rs@@ -216,7 +216,7 @@ impl PickerDelegate for ThreadContextPickerDelegate {ListItem::new(ix).inset(true).toggle_state(selected)- .child(thread.summary.clone()),+ .child(Label::new(thread.summary.clone())),)}}