authorgravatar for 97427849+flamboh@users.noreply.github.comoliver <97427849+flamboh@users.noreply.github.com> 2026-09-26 11:35:31-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-26 11:35:31-07:00
log75d63d64c554a425adc485f1205ef03ec50f8564
treed5a16942ae7e5b609ca1881e1f9ce8bcebc138cf
parent95030dc674883f0f2a7fd034b32ce742c8cf55d0
signature Signed by PGP key B5690EEEBB952194

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


1 files changed, 14 insertions(+), 16 deletions(-)

apps/mobile/src/features/threads/thread-list-v2-items.tsx+14-16
...@@ -1028,27 +1028,25 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {...@@ -1028,27 +1028,25 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1028 )}1028 )}
1029 {pr ? (1029 {pr ? (
1030 <View className="flex-row items-center gap-1" accessibilityLabel={pr.accessibilityLabel}>1030 <View className="flex-row items-center gap-1" accessibilityLabel={pr.accessibilityLabel}>
1031 {pr.kind === "stack" || pr.others > 0 ? (1031 <SymbolView
1032 <SymbolView1032 name={pr.kind === "stack" ? "square.3.layers.3d" : "arrow.triangle.pull"}
1033 name={pr.kind === "stack" ? "square.3.layers.3d" : "arrow.triangle.pull"}1033 size={12}
1034 size={12}1034 tintColorClassName={
1035 tintColorClassName={1035 pr.state === null || pr.isDraft
1036 pr.state === null || pr.isDraft1036 ? rowAppearance.mutedIconTintClassName
1037 ? rowAppearance.mutedIconTintClassName1037 : pr.state === "open"
1038 : pr.state === "open"1038 ? "accent-adaptive-emerald-600-400"
1039 ? "accent-adaptive-emerald-600-400"1039 : pr.state === "closed"
1040 : pr.state === "closed"1040 ? "accent-adaptive-rose-600-400"
1041 ? "accent-adaptive-rose-600-400"1041 : "accent-adaptive-violet-600-400"
1042 : "accent-adaptive-violet-600-400"1042 }
1043 }1043 />
1044 />
1045 ) : null}
1046 <Text1044 <Text
1047 accessibilityLabel={pr.accessibilityLabel}1045 accessibilityLabel={pr.accessibilityLabel}
1048 className={cn("text-xs", pr.textClassName)}1046 className={cn("text-xs", pr.textClassName)}
1049 style={{ fontFamily: MONO_FONT }}1047 style={{ fontFamily: MONO_FONT }}
1050 >1048 >
1051 {pr.kind === "stack" || pr.others > 0 ? pr.label : `#${pr.label}`}1049 {pr.label}
1052 </Text>1050 </Text>
1053 </View>1051 </View>
1054 ) : null}1052 ) : null}