@@ -441,23 +441,21 @@ export const ThreadListRow = memo(function ThreadListRow(props: {
441441 const iconSubtleColor = useThemeColor ( "--color-icon-subtle" ) ;
442442 const screenColor = useThemeColor ( "--color-screen" ) ;
443443 const drawerColor = useThemeColor ( "--color-drawer" ) ;
444- const mutedColor = useThemeColor ( "--color-foreground-muted" ) ;
445444 const pressedBackgroundColor = useThemeColor ( "--color-subtle" ) ;
446445 const selectedBackgroundColor = useThemeColor ( "--color-user-bubble" ) ;
447- const selectedMutedColor = useThemeColor ( "--color-user-bubble-foreground-muted" ) ;
448446
449447 const { thread, onSelectThread, onArchiveThread, onDeleteThread } = props ;
450448 const status = resolveThreadStatus ( thread ) ;
451449 const pr = useThreadPr ( thread , props . projectCwd ) ;
452450 const timestamp = relativeTime (
453451 thread . latestUserMessageAt ?? thread . updatedAt ?? thread . createdAt ,
454452 ) ;
453+ const threadAccessibilityLabel = pr ? `${ thread . title } , ${ pr . accessibilityLabel } ` : thread . title ;
455454 const subtitleParts = [ props . environmentLabel , thread . branch ] . filter ( ( part ) : part is string =>
456455 Boolean ( part ) ,
457456 ) ;
458457
459458 const backgroundColor = compact ? screenColor : drawerColor ;
460- const effectiveMuted = selected ? selectedMutedColor : mutedColor ;
461459 const effectivePressedBackground = selected ? "rgba(255,255,255,0.16)" : pressedBackgroundColor ;
462460 const effectiveStatus =
463461 selected && status
@@ -496,12 +494,6 @@ export const ThreadListRow = memo(function ThreadListRow(props: {
496494 < View className = "mt-px flex-row items-center gap-1.5" >
497495 { subtitleParts . length > 0 ? (
498496 < >
499- < SymbolView
500- name = "arrow.triangle.branch"
501- size = { 10 }
502- tintColor = { compact ? iconSubtleColor : effectiveMuted }
503- type = "monochrome"
504- />
505497 < Text
506498 className = { cn (
507499 "shrink" ,
@@ -516,10 +508,7 @@ export const ThreadListRow = memo(function ThreadListRow(props: {
516508 </ >
517509 ) : null }
518510 { pr !== null ? (
519- < View
520- accessibilityLabel = { pr . accessibilityLabel }
521- className = "flex-row items-center gap-0.5"
522- >
511+ < View className = "flex-row items-center gap-0.5" >
523512 < PullRequestIcon
524513 size = { compact ? 13 : 11 }
525514 color = { selected ? "#ffffff" : pullRequestTintColor ( pr . state , colorScheme ) }
@@ -540,7 +529,7 @@ export const ThreadListRow = memo(function ThreadListRow(props: {
540529 compact ? (
541530 < Pressable
542531 accessibilityHint = "Swipe left for archive and delete actions"
543- accessibilityLabel = { thread . title }
532+ accessibilityLabel = { threadAccessibilityLabel }
544533 accessibilityRole = "button"
545534 className = "bg-screen"
546535 onPress = { ( ) => {
@@ -586,7 +575,7 @@ export const ThreadListRow = memo(function ThreadListRow(props: {
586575 ) : (
587576 < Pressable
588577 accessibilityHint = "Opens the thread"
589- accessibilityLabel = { thread . title }
578+ accessibilityLabel = { threadAccessibilityLabel }
590579 accessibilityRole = "button"
591580 accessibilityState = { { selected } }
592581 onHoverIn = { ( ) => setHovered ( true ) }
0 commit comments