fix: markdown rendering #46

Merged
reya merged 2 commits from fix-markdown into master 2026-09-16 01:52:53 +00:00
Showing only changes of commit 9c5028ce05 - Show all commits
+2 -1
View File
@@ -2021,6 +2021,7 @@ impl Render for ChatPanel {
const WARNING: &str = "Attachments added while typing are uploaded without encryption";
let is_typing = !self.input.read(cx).value().trim().is_empty();
let pending_attachments = !self.encrypted_attachments.read(cx).is_empty();
v_flex()
.image_cache(coop_cache(self.id.clone(), 100))
@@ -2083,7 +2084,7 @@ 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(is_typing, |this| {
.when(is_typing && pending_attachments, |this| {
this.child(
div()
.px_1()