This commit is contained in:
2026-06-03 15:07:27 +07:00
parent bac04ab4da
commit 2a923ca74f
9 changed files with 87 additions and 86 deletions

View File

@@ -869,6 +869,7 @@ impl ChatPanel {
Avatar::new()
.src(author.avatar())
.name(author.name())
.size(px(32.))
.flex_shrink_0()
.relative(),
)
@@ -1380,7 +1381,6 @@ impl ChatPanel {
.icon(CoopIcon::Settings2)
.tooltip("Configuration")
.ghost()
.large()
.dropdown_menu(move |this, _window, _cx| {
let auto = matches!(signer_kind, SignerKind::Auto);
let encryption = matches!(signer_kind, SignerKind::Encryption);
@@ -1415,7 +1415,6 @@ impl ChatPanel {
Button::new("emoji")
.icon(CoopIcon::Emoji)
.ghost()
.large()
.dropdown_menu_with_anchor(gpui::Anchor::BottomLeft, move |this, _window, _cx| {
this.separator()
.menu("👍", Box::new(Command::Insert("👍")))
@@ -1543,7 +1542,6 @@ impl Render for ChatPanel {
.loading(self.uploading)
.disabled(self.uploading)
.ghost()
.large()
.on_click(cx.listener(move |this, _ev, window, cx| {
this.upload(window, cx);
})),
@@ -1560,7 +1558,6 @@ impl Render for ChatPanel {
.icon(CoopIcon::PaperPlaneFill)
.disabled(self.uploading)
.ghost()
.large()
.on_click(cx.listener(move |this, _ev, window, cx| {
this.send_text_message(window, cx);
})),