From fe222507f4b2cffed8bd8937c1157ad67d6d4257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A7=E9=A9=8A?= Date: Mon, 16 Nov 2026 23:05:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=81=E5=87=BA=EF=BC=8F=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E6=8C=89=E9=88=95=E8=B7=9F=E8=91=97=E3=80=8C=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E7=9A=84=E9=A1=8F=E8=89=B2=E3=80=8D=E2=80=94=E2=80=94?= =?UTF-8?q?=E5=AE=89=E9=9D=9C=E5=92=8C=E5=8F=AA=E7=94=A8=E9=BB=91=E8=89=B2?= =?UTF-8?q?=E6=99=82=E6=98=AF=E5=A2=A8=E8=89=B2=EF=BC=8C=E5=8F=AA=E6=9C=89?= =?UTF-8?q?=E3=80=8C=E8=B7=9F=E8=91=97=20Bot=E3=80=8D=E6=89=8D=E7=94=A8=20?= =?UTF-8?q?Bot=20=E7=9A=84=E9=A1=8F=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 0f0b070..e647b78 100644 --- a/src/app.rs +++ b/src/app.rs @@ -4203,7 +4203,9 @@ impl App { let has_text = !draft.trim().is_empty() || self.has_pending_attachments(bot.id); let call = self.call_state(); let in_call = call.map(|c| c.0 == bot.id).unwrap_or(false); - let colour = self.bot_color(bot); + // The send / stop button follows 聊天的顏色 like the bubbles: the bot's + // colour only under 「跟著 Bot」; ink otherwise (安靜, 只用黑色). + let colour = if self.state.accent == Accent::BotColor { self.bot_color(bot) } else { p.primary }; let colour = if colour.r() as u32 + colour.g() as u32 + colour.b() as u32 <= 0x30 * 3 { p.primary } else { colour }; let ink = if colour == p.primary { p.on_primary } else { Color32::WHITE }; if has_text {