Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions apps/mobile/src/features/threads/thread-list-v2-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Loading