This commit is contained in:
2026-09-15 20:56:16 +07:00
parent ee3547fc86
commit ac70121bc9
3 changed files with 31 additions and 6 deletions
+14
View File
@@ -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()