Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(mobile): use standard reply icon size token

Chris1f12babe6524
diff --git a/apps/mobile/src/session/BotGroupChatScreen.tsx b/apps/mobile/src/session/BotGroupChatScreen.tsx
index 89f8b919bb..4fa232c5c0 100644
--- a/apps/mobile/src/session/BotGroupChatScreen.tsx
+++ b/apps/mobile/src/session/BotGroupChatScreen.tsx
@@ -62,7 +62,7 @@ import { readRemoteCollectionCache } from '@/device-link/remoteResourceAvailabil
import type { RemoteResourceHostTarget } from '@/device-link/remoteResources';
import { useTheme, useThemedStyles, type ThemeColors } from '@/theme';
import { useUserBubbleAppearance } from '@/theme/userBubblePreference';
-import { fontWeight, lineHeight, navigationChrome, radius, spacing, typeScale } from '@/theme/tokens';
+import { fontWeight, iconSize, lineHeight, navigationChrome, radius, spacing, typeScale } from '@/theme/tokens';
import { goBackGuarded } from '@/utils/backGuard';
import {
BOT_GROUP_MESSAGE_AVATAR_SIZE,
@@ -564,7 +564,7 @@ export function BotGroupTimeline({
accessibilityRole="button" accessibilityLabel={t('message.renderer.reply')}
testID={`botGroup.reply.${message.id}`} onPress={() => onReply(message)}
style={[styles.replyAction, message.isSelf === true && styles.ownReplyAction]}>
- <ChatReplyIcon size={16} color={styles.replyIcon.color} />
+ <ChatReplyIcon size={iconSize.md} color={styles.replyIcon.color} />
</Pressable> : null}
</View>;
})}