From 31e2b0692580e392b5b51b5530f5800b6a17a79a Mon Sep 17 00:00:00 2001 From: tris203 Date: Mon, 2 Nov 2026 13:25:22 +0000 Subject: [PATCH] fix(mobile): closed PR numbers match their red icon in the thread list --- apps/mobile/src/state/thread-pr-presentation.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/mobile/src/state/thread-pr-presentation.ts b/apps/mobile/src/state/thread-pr-presentation.ts index 2c151676f5c6c..ca4b636647865 100644 --- a/apps/mobile/src/state/thread-pr-presentation.ts +++ b/apps/mobile/src/state/thread-pr-presentation.ts @@ -29,7 +29,7 @@ export interface ThreadPrPresentation { const PR_STATE_TEXT_CLASS: Record = { open: "text-adaptive-emerald-600-400", merged: "text-adaptive-violet-600-400", - closed: "text-foreground-muted", + closed: "text-adaptive-rose-600-400", }; export function presentThreadPr( @@ -94,12 +94,7 @@ export function presentThreadLinkedPullRequests( : linkedCount !== null ? `${linkedCount} linked ${changeRequest.plural}, overall ${badge.state}` : `#${link.number} ${changeRequest.singular} ${state === null ? "status pending" : isDraft ? "draft" : state}`, - textClassName: - state === null || isDraft - ? "text-foreground-muted" - : isMultiple && state === "closed" - ? "text-adaptive-rose-600-400" - : PR_STATE_TEXT_CLASS[state], + textClassName: state === null || isDraft ? "text-foreground-muted" : PR_STATE_TEXT_CLASS[state], }; }