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): 协同任务图标对齐桌面 UsersRound

Dash8474fb464b8b
diff --git a/apps/mobile/app/devices/index.tsx b/apps/mobile/app/devices/index.tsx
index 0102a1d9ce..13ca310544 100644
--- a/apps/mobile/app/devices/index.tsx
+++ b/apps/mobile/app/devices/index.tsx
@@ -32,10 +32,10 @@ import {
Lock,
Pencil,
Pin,
- Puzzle,
RefreshCw,
RadioTower,
SquarePen,
+ UsersRound,
X,
} from 'lucide-react-native';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
@@ -2624,8 +2624,9 @@ function SessionStatusMark({
{archived ? (
<Archive color={cindyList ? colors.textSecondary : colors.textTertiary} size={cindyList ? iconSize.sm : iconSize.lg} strokeWidth={iconStroke.thin} />
) : orcaLead ? (
+ // 与桌面 SessionStatusIcon /「+」菜单协同项同款 UsersRound,不再用旧 Puzzle。
<SessionStatusPulse running={running}>
- <Puzzle color={glyphColor} size={cindyList ? iconSize.sm : iconSize.action} strokeWidth={iconStroke.thin} />
+ <UsersRound color={glyphColor} size={cindyList ? iconSize.sm : iconSize.action} strokeWidth={iconStroke.thin} />
</SessionStatusPulse>
) : attached ? (
<SessionStatusPulse running={running}>
diff --git a/apps/mobile/src/__tests__/homeDesktopFirst.test.ts b/apps/mobile/src/__tests__/homeDesktopFirst.test.ts
index 34a089fc62..bba741c783 100644
--- a/apps/mobile/src/__tests__/homeDesktopFirst.test.ts
+++ b/apps/mobile/src/__tests__/homeDesktopFirst.test.ts
@@ -193,6 +193,8 @@ describe('mobile home desktop-first surface', () => {
expect((homeSource.match(/^ useRemoteSessionStoreVersion\(\);$/gm) ?? []).length).toBeGreaterThanOrEqual(2);
expect(homeSource).toContain('useMinuteNow();');
expect(homeSource).toContain('<RadioTower');
+ expect(homeSource).toContain('<UsersRound');
+ expect(homeSource).not.toContain('<Puzzle');
expect(homeSource).toContain('width: 24');
expect(homeSource).toContain('width: iconSize.md');
expect(homeSource).toContain('size={cindyList ? iconSize.sm : isClaudeCodeAgentKind(item.session.agentKind) ? 19 : iconSize.lg}');