Skip to content

Commit

Permalink
feat(ReactNative): respect icon theme color in wallet UI
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges committed Sep 22, 2024
1 parent d936d4e commit 252b404
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 252b404

Please sign in to comment.