@devries-cameron20 / t3code-1 / commits / 96bae5465b
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(mobile): Dynamic Island status no longer wraps next to other Live Activities (#23327)

Fixes #15682. Takes over #23035. Co-authored-by: Taylor Dolezal <onlydole@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Theo Browne committed Oct 22, 2026 at 00:40 UTC 96bae5465bc5dfaedc890998a7a71672fb470ae2
1 file changed +31 -2
apps/mobile/src/widgets/AgentActivity.tsx
+31 -2
@@ -1,12 +1,15 @@
1 -import { HStack, Image, Spacer, Text, VStack, ZStack } from "@expo/ui/swift-ui";
1 +import { Circle, HStack, Image, Spacer, Text, VStack, ZStack } from "@expo/ui/swift-ui";
2 import type { ComponentProps } from "react";
3 import {
4 + accessibilityElement,
5 + accessibilityLabel,
6 activityBackgroundTint,
7 font,
8 foregroundStyle,
9 frame,
10 layoutPriority,
11 lineLimit,
12 + minimumScaleFactor,
13 padding,
14 resizable,
15 widgetURL,
@@ -149,6 +152,8 @@ export function AgentActivity(
152 : environment.isStale
153 ? "Out of date"
154 : `${props.activeCount} active`;
155 + const showCompactCount = !attentionRow && !allDone && !environment.isStale;
156 + const compactCountLabel = props.activeCount > 99 ? "99+" : `${props.activeCount}`;
157 const summary = attentionSuffix || activeLabel;
158
159 // Any registered scheme variant routes back to this app; taps are delivered
@@ -326,11 +331,35 @@ export function AgentActivity(
331 </VStack>
332 ),
333 compactLeading: renderLogo(14, tint, linkModifiers),
329 - compactTrailing: (
334 + compactTrailing: showCompactCount ? (
335 + <ZStack
336 + modifiers={[
337 + frame({ width: 28, height: 28 }),
338 + accessibilityElement("ignore"),
339 + accessibilityLabel(agentsLabel),
340 + ...linkModifiers,
341 + ]}
342 + >
343 + <Circle modifiers={[foregroundStyle(tint)]} />
344 + <Text
345 + modifiers={[
346 + font({ weight: "bold", size: 14 }),
347 + foregroundStyle("#000000"),
348 + lineLimit(1),
349 + minimumScaleFactor(0.75),
350 + frame({ width: 24, height: 28 }),
351 + ]}
352 + >
353 + {compactCountLabel}
354 + </Text>
355 + </ZStack>
356 + ) : (
357 <Text
358 modifiers={[
359 font({ weight: "semibold", size: 11 }),
360 foregroundStyle(tint),
361 + lineLimit(1),
362 + minimumScaleFactor(0.5),
363 ...linkModifiers,
364 ]}
365 >