assistant: Remove meta description from quote selection tooltip (#16412)

The original idea was for the keybinding to be within the description, but given it's already inline with the title, I figure we don't need this anymore—cleaning it up a bit!

--- 

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2024-08-17 13:30:32 -03:00 committed by GitHub
parent e4a591dcbd
commit 7c268d0c6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3745,17 +3745,15 @@ impl Render for ContextEditor {
})
.tooltip(move |cx| {
cx.new_view(|cx| {
Tooltip::new("Insert Selection")
.meta("Press to quote via keyboard")
.key_binding(focus_handle.as_ref().and_then(
|handle| {
KeyBinding::for_action_in(
&QuoteSelection,
&handle,
cx,
)
},
))
Tooltip::new("Insert Selection").key_binding(
focus_handle.as_ref().and_then(|handle| {
KeyBinding::for_action_in(
&QuoteSelection,
&handle,
cx,
)
}),
)
})
.into()
}),