Skip to content

Commit

Permalink
feat(ReactNative): respect icon theme color in wallet UI (#4752)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges authored Sep 22, 2024
1 parent d936d4e commit e9ae980
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dull-rockets-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

[ReactNative] Respect icon theme color in connect button and detail modal
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,14 @@ export const WalletImage = (props: {
});

const data = avatar || imageData || WALLET_ICON;
return <RNImage theme={props.theme} data={data} size={size} />;
return (
<RNImage
theme={props.theme}
data={data}
size={size}
color={props.theme.colors.accentButtonBg}
/>
);
};

export function getAuthProviderImage(authProvider: string | null): string {
Expand Down

0 comments on commit e9ae980

Please sign in to comment.