From 9efa13116d9138a3c2a61708ba370c3c57531c65 Mon Sep 17 00:00:00 2001
From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Date: Fri, 20 Dec 2024 20:53:51 -0300
Subject: [PATCH] assistant2: Use a label to render the thread menu item
(#22316)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The thread menu items were rendering with a larger font that the file &
directory counterparts. Now, they're consistent!
| Before | After | Reference |
|--------|--------|--------|
|
|
|
|
Release Notes:
- N/A
---
crates/assistant2/src/context_picker/thread_context_picker.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/assistant2/src/context_picker/thread_context_picker.rs b/crates/assistant2/src/context_picker/thread_context_picker.rs
index 1191f58b9e972422f126fa64cd4fdb1a14731f09..78e840114a420078000441d3a85a5b99a7a1d3a2 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())),
)
}
}