diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-latest-dark.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-latest-dark.png new file mode 100644 index 0000000000..943460cb27 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-latest-dark.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-latest-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-latest-light.png new file mode 100644 index 0000000000..719f798223 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-latest-light.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-scrolled-dark.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-scrolled-dark.png new file mode 100644 index 0000000000..aba3fb551f Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-scrolled-dark.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-scrolled-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-scrolled-light.png new file mode 100644 index 0000000000..1f912f18ab Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-colored-scrolled-light.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-latest-dark.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-latest-dark.png new file mode 100644 index 0000000000..fee95fba07 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-latest-dark.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-latest-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-latest-light.png new file mode 100644 index 0000000000..5218edef15 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-latest-light.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-scrolled-dark.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-scrolled-dark.png new file mode 100644 index 0000000000..0902290b11 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-scrolled-dark.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-scrolled-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-scrolled-light.png new file mode 100644 index 0000000000..76cc6426df Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/dm-scrolled-light.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/finding-name-capsule-clipped-after-theme-switch-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/finding-name-capsule-clipped-after-theme-switch-light.png new file mode 100644 index 0000000000..bec7c3c0c1 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/finding-name-capsule-clipped-after-theme-switch-light.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/group-back-gesture-dark.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-back-gesture-dark.png new file mode 100644 index 0000000000..ca691ba62c Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-back-gesture-dark.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/group-back-gesture-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-back-gesture-light.png new file mode 100644 index 0000000000..c6a80d0f9d Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-back-gesture-light.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/group-header-dark.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-header-dark.png new file mode 100644 index 0000000000..dea02e6221 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-header-dark.png differ diff --git a/.github/pr-screenshots/2394-android-chat-chrome/phone/group-header-light.png b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-header-light.png new file mode 100644 index 0000000000..7c96dcd8f5 Binary files /dev/null and b/.github/pr-screenshots/2394-android-chat-chrome/phone/group-header-light.png differ diff --git a/apps/mobile/src/ui/chat/conversation-screen.tsx b/apps/mobile/src/ui/chat/conversation-screen.tsx index 580a3227c4..c9d708d3d9 100644 --- a/apps/mobile/src/ui/chat/conversation-screen.tsx +++ b/apps/mobile/src/ui/chat/conversation-screen.tsx @@ -879,7 +879,14 @@ function ChatConversation({ } : { headerTitleAlign: 'left' as const, - headerTitle: () => title, + headerTitle: () => ( + + {title} + + ), headerRight: () => trailing, ...(canGoBack && !floatingHeader ? {} : { headerLeft: () => back }), }), diff --git a/changes/2416-android-chat-title.md b/changes/2416-android-chat-title.md new file mode 100644 index 0000000000..d929b30f02 --- /dev/null +++ b/changes/2416-android-chat-title.md @@ -0,0 +1,11 @@ +--- +section: Fixed +--- + +## en + +- On Android, the Bot's name in the chat header no longer shrinks to "M…" after switching between light and dark while the chat is open ([#2416](https://github.com/BotHarness/DeepSeekBot/pull/2416)). + +## zh + +- Android 聊天页里切换浅色/深色主题后,顶部的 Bot 名称不会再被截成 “M…”([#2416](https://github.com/BotHarness/DeepSeekBot/pull/2416))。