update
This commit is contained in:
@@ -2089,6 +2089,20 @@ impl Render for ChatPanel {
|
||||
.children(self.render_attachment_list(window, cx))
|
||||
.children(self.render_pending_file_list(window, cx))
|
||||
.children(self.render_reply_list(window, cx))
|
||||
.when(
|
||||
!self.input.read(cx).value().trim().is_empty(),
|
||||
|this| {
|
||||
this.child(
|
||||
div()
|
||||
.px_1()
|
||||
.text_xs()
|
||||
.text_color(cx.theme().text_warning)
|
||||
.child(
|
||||
"Attachments added while typing are uploaded without encryption",
|
||||
),
|
||||
)
|
||||
},
|
||||
)
|
||||
.child(
|
||||
h_flex()
|
||||
.items_end()
|
||||
|
||||
Reference in New Issue
Block a user