fix(mobile): stand the Live Activity's Stop at its row's trailing edge
Merged
DA
8d ago+8+8+0123456789-5-5-0123456789
Why
The developer, on TestFlight 65 on the iPhone: "Stop isn't lined up on the right side properly." Stop's 28 pt circle stood centered in its 44 pt target (StopTarget), so it sat 8 pt in from the trailing edge that the header's waiting label keeps.
What
In AgentRow (apps/mobile/live-activity/AgentsLiveActivity.swift):
- The circle: it now stands at its target's trailing edge (
alignment: .trailing). The target is still 44 pt wide, and its extra width reaches toward the title instead. - The gap: the row's spacing gives back those 8 points (
10 - (width - mark) / 2), so the gap between the turn's timer and the circle stays 18 pt, as before. - Unchanged: the target's height, and how it reaches into the gap between rows.
Checks
This is Swift, so it stays unarmed until a native Release build on the Mac passes. That build is the iOS 27.2 Lock Screen and expanded island, the iOS 26.5 cold launch, and the symbol audit. The shots should show the circle's trailing edge in line with the header's trailing edge in both presentations. No JS changed. The Linux checks run as usual.
🤖 Generated with Claude Code
Summary by CodeRabbit
- Style
- Aligned the expanded Dynamic Island header inset with the agent rows.
- Adjusted row spacing and Stop button alignment so the button’s visible circle sits at the trailing edge while accounting for its wider touch target.