Render the PR badge on mobile thread-list-v2 rows

The row already subscribed to the thread's PR (for merged/closed
auto-settle) but never showed it, while desktop cards render a
state-colored #number badge. Reuse the shared ThreadPrPresentation —
the same label/color source as the v1 rows — in the meta line between
the branch and the provider icon, mirroring the desktop order.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 committed 2026-07-22 15:39:12 +02:00
1 parent 55bf99e642
commit fe57cfb5f1
1 file changed
+9
@@ -248,6 +248,15 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
) : (
<View className="flex-1" />
)}
{pr ? (
<Text
accessibilityLabel={pr.accessibilityLabel}
className={cn("text-xs", pr.textClassName)}
style={{ fontFamily: MONO_FONT }}
>
#{pr.label}
</Text>
) : null}
{props.providerDriver ? (
<View className="opacity-60">
<ProviderIcon provider={props.providerDriver} size={14} />