File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
thirdweb/src/wallets/in-app/core/wallet Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export type InAppWalletCreationOptions =
6969 * Metadata to display in the Connect Modal
7070 */
7171 metadata ?: {
72+ name ?: string ;
7273 image ?: {
7374 src : string ;
7475 width ?: number ;
Original file line number Diff line number Diff line change @@ -94,8 +94,9 @@ export function inAppWalletConnector(
9494 const client = args . client ;
9595 return createConnector < Provider , Properties , StorageItem > ( ( config ) => ( {
9696 id : "in-app-wallet" ,
97- name : "In-App wallet" ,
97+ name : args . metadata ?. name || "In-App wallet" ,
9898 type : "in-app" ,
99+ icon : args . metadata ?. image ?. src ,
99100 connect : async ( params ) => {
100101 const rawStorage =
101102 typeof window !== "undefined" && window . localStorage
You can’t perform that action at this time.
0 commit comments