Skip to content
TypeScript

fix(mobile): thread list shows the pull request icon instead of # (#13742)

oliver75d63d64c554
diff --git a/apps/mobile/src/features/threads/thread-list-v2-items.tsx b/apps/mobile/src/features/threads/thread-list-v2-items.tsx
index eb089b95060..09ffe404ee7 100644
--- a/apps/mobile/src/features/threads/thread-list-v2-items.tsx
+++ b/apps/mobile/src/features/threads/thread-list-v2-items.tsx
@@ -1028,27 +1028,25 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
)}
{pr ? (
<View className="flex-row items-center gap-1" accessibilityLabel={pr.accessibilityLabel}>
- {pr.kind === "stack" || pr.others > 0 ? (
- <SymbolView
- name={pr.kind === "stack" ? "square.3.layers.3d" : "arrow.triangle.pull"}
- size={12}
- tintColorClassName={
- pr.state === null || pr.isDraft
- ? rowAppearance.mutedIconTintClassName
- : pr.state === "open"
- ? "accent-adaptive-emerald-600-400"
- : pr.state === "closed"
- ? "accent-adaptive-rose-600-400"
- : "accent-adaptive-violet-600-400"
- }
- />
- ) : null}
+ <SymbolView
+ name={pr.kind === "stack" ? "square.3.layers.3d" : "arrow.triangle.pull"}
+ size={12}
+ tintColorClassName={
+ pr.state === null || pr.isDraft
+ ? rowAppearance.mutedIconTintClassName
+ : pr.state === "open"
+ ? "accent-adaptive-emerald-600-400"
+ : pr.state === "closed"
+ ? "accent-adaptive-rose-600-400"
+ : "accent-adaptive-violet-600-400"
+ }
+ />
<Text
accessibilityLabel={pr.accessibilityLabel}
className={cn("text-xs", pr.textClassName)}
style={{ fontFamily: MONO_FONT }}
>
- {pr.kind === "stack" || pr.others > 0 ? pr.label : `#${pr.label}`}
+ {pr.label}
</Text>
</View>
) : null}