mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-09 02:44:49 +00:00
Remove empty message editor placeholder (#7444)
This PR removes the placeholder that we previously displayed for the chat message editor. With the changes in #7441 we can no longer hit this codepath. Release Notes: - N/A
This commit is contained in:
parent
960eaf6245
commit
0b2a9d2bea
1 changed files with 1 additions and 13 deletions
|
@ -596,19 +596,7 @@ impl Render for ChatPanel {
|
|||
el.border_t_1().border_color(cx.theme().colors().border)
|
||||
})
|
||||
.p_2()
|
||||
.map(|el| {
|
||||
if self.active_chat.is_some() {
|
||||
el.child(self.message_editor.clone())
|
||||
} else {
|
||||
el.child(
|
||||
div()
|
||||
.rounded_md()
|
||||
.h_6()
|
||||
.w_full()
|
||||
.bg(cx.theme().colors().editor_background),
|
||||
)
|
||||
}
|
||||
}),
|
||||
.child(self.message_editor.clone()),
|
||||
)
|
||||
.filter(|_| self.active_chat.is_some()),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue