Skip to content

Commit 7c6b0da

Browse files
fix(mobile): preserve provider icon dimming in thread rows
1 parent a06959f commit 7c6b0da

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,15 +1115,17 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
11151115
<ProviderIcon provider={driver} size={12} />
11161116
</View>
11171117
))}
1118-
<ProviderInstanceIcon
1119-
iconUrl={providerIconUrl}
1120-
provider={providerInstance.driverKind}
1121-
size={14}
1122-
displayName={providerInstance.displayName}
1123-
accentColor={providerInstance.accentColor}
1124-
showBadge={providerInstance.showBadge}
1125-
surfaceColor={rowAppearance.providerIconSurfaceColor}
1126-
/>
1118+
<View className={providerInstance.showBadge ? undefined : "opacity-60"}>
1119+
<ProviderInstanceIcon
1120+
iconUrl={providerIconUrl}
1121+
provider={providerInstance.driverKind}
1122+
size={14}
1123+
displayName={providerInstance.displayName}
1124+
accentColor={providerInstance.accentColor}
1125+
showBadge={providerInstance.showBadge}
1126+
surfaceColor={rowAppearance.providerIconSurfaceColor}
1127+
/>
1128+
</View>
11271129
</View>
11281130
) : null}
11291131
</View>

0 commit comments

Comments
 (0)