Skip to content

Commit 513457b

Browse files
saphidclaude
andcommitted
fix(mobile): badged subagent icons keep the instance's configured appearance
Main's instance-badge branches in the subagent group avatar and the subagent row rendered ProviderInstanceIcon without the instance's configured icon and badge label, so a customized instance lost its appearance whenever the badge showed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 464286e commit 513457b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/mobile/src/features/threads/SubagentRow.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ function SubagentMetadata(props: {
149149
size={12}
150150
displayName={resolveProviderInstanceDisplayName(provider)}
151151
accentColor={provider.accentColor}
152+
icon={provider.icon}
153+
badgeLabel={provider.badgeLabel}
152154
showBadge
153155
/>
154156
) : (

‎apps/mobile/src/features/threads/thread-subagent-group.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ function SubagentAvatar(props: {
8787
size={15}
8888
displayName={resolveProviderInstanceDisplayName(provider)}
8989
accentColor={provider.accentColor}
90+
icon={provider.icon}
91+
badgeLabel={provider.badgeLabel}
9092
showBadge
9193
/>
9294
) : driver === undefined ? (

0 commit comments

Comments
 (0)