Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): 提升单行建议回复的文字可读性
Dashdb565e7f293b
diff --git a/apps/mobile/src/session/PromptRecommendation.tsx b/apps/mobile/src/session/PromptRecommendation.tsxindex 3b774e4b81..111e3099ff 100644--- a/apps/mobile/src/session/PromptRecommendation.tsx+++ b/apps/mobile/src/session/PromptRecommendation.tsx@@ -73,7 +73,7 @@ export function PromptRecommendation({ prompt, onAccept, onDismiss }: {testID="session.promptRecommendationAction"><Sparkles color={colors.textSecondary} size={iconSize.md} strokeWidth={iconStroke.regular} />- <Text numberOfLines={1} style={styles.text}>{prompt}</Text>+ <Text numberOfLines={1} ellipsizeMode="tail" style={styles.text}>{prompt}</Text></Pressable>);return (@@ -105,8 +105,8 @@ const makeStyles = (colors: ThemeColors) => StyleSheet.create({alignItems: 'center',gap: spacing.sm,paddingHorizontal: spacing.lg,- paddingVertical: spacing.sm,+ paddingVertical: spacing.md,},pressed: { opacity: 0.72 },- text: { flex: 1, color: colors.textPrimary, fontSize: typeScale.footnote, lineHeight: lineHeight.caption },+ text: { flex: 1, minWidth: 0, color: colors.textPrimary, fontSize: typeScale.bodySmall, lineHeight: lineHeight.bodySmall },});