Skip to content

Commit 75d63d6

Browse files
authored
fix(mobile): thread list shows the pull request icon instead of # (pingdotgg#13742)
1 parent 95030dc commit 75d63d6

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

‎apps/mobile/src/features/threads/thread-list-v2-items.tsx‎

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,27 +1028,25 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
10281028
)}
10291029
{pr ? (
10301030
<View className="flex-row items-center gap-1" accessibilityLabel={pr.accessibilityLabel}>
1031-
{pr.kind === "stack" || pr.others > 0 ? (
1032-
<SymbolView
1033-
name={pr.kind === "stack" ? "square.3.layers.3d" : "arrow.triangle.pull"}
1034-
size={12}
1035-
tintColorClassName={
1036-
pr.state === null || pr.isDraft
1037-
? rowAppearance.mutedIconTintClassName
1038-
: pr.state === "open"
1039-
? "accent-adaptive-emerald-600-400"
1040-
: pr.state === "closed"
1041-
? "accent-adaptive-rose-600-400"
1042-
: "accent-adaptive-violet-600-400"
1043-
}
1044-
/>
1045-
) : null}
1031+
<SymbolView
1032+
name={pr.kind === "stack" ? "square.3.layers.3d" : "arrow.triangle.pull"}
1033+
size={12}
1034+
tintColorClassName={
1035+
pr.state === null || pr.isDraft
1036+
? rowAppearance.mutedIconTintClassName
1037+
: pr.state === "open"
1038+
? "accent-adaptive-emerald-600-400"
1039+
: pr.state === "closed"
1040+
? "accent-adaptive-rose-600-400"
1041+
: "accent-adaptive-violet-600-400"
1042+
}
1043+
/>
10461044
<Text
10471045
accessibilityLabel={pr.accessibilityLabel}
10481046
className={cn("text-xs", pr.textClassName)}
10491047
style={{ fontFamily: MONO_FONT }}
10501048
>
1051-
{pr.kind === "stack" || pr.others > 0 ? pr.label : `#${pr.label}`}
1049+
{pr.label}
10521050
</Text>
10531051
</View>
10541052
) : null}

0 commit comments

Comments
 (0)