diff --git a/src/frontend/src/eth/components/wallet-connect/WalletConnectButton.svelte b/src/frontend/src/eth/components/wallet-connect/WalletConnectButton.svelte index 105fcabc80..851e408181 100644 --- a/src/frontend/src/eth/components/wallet-connect/WalletConnectButton.svelte +++ b/src/frontend/src/eth/components/wallet-connect/WalletConnectButton.svelte @@ -1,19 +1,12 @@ - - - + diff --git a/src/frontend/src/eth/components/wallet-connect/WalletConnectSession.svelte b/src/frontend/src/eth/components/wallet-connect/WalletConnectSession.svelte index 03549c8d7e..28ffc82a2b 100644 --- a/src/frontend/src/eth/components/wallet-connect/WalletConnectSession.svelte +++ b/src/frontend/src/eth/components/wallet-connect/WalletConnectSession.svelte @@ -339,9 +339,9 @@ {#if nonNullish(listener)} - {$i18n.wallet_connect.text.disconnect} + + {$i18n.wallet_connect.text.disconnect} + {/if} {#if $modalWalletConnectAuth} diff --git a/src/frontend/src/lib/components/icons/IconWalletConnect.svelte b/src/frontend/src/lib/components/icons/IconWalletConnect.svelte index 923bec7b97..7018ae9b39 100644 --- a/src/frontend/src/lib/components/icons/IconWalletConnect.svelte +++ b/src/frontend/src/lib/components/icons/IconWalletConnect.svelte @@ -1,11 +1,23 @@ - + - + + + + + + + + + diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index 8493e08664..1c427be5bf 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -529,6 +529,9 @@ "eth_transaction_executed": "WalletConnect eth_sendTransaction request executed.", "sign_executed": "WalletConnect sign request executed." }, + "alt": { + "disconnect": "Disconnect from WalletConnect" + }, "error": { "qr_code_read": "Cannot read QR code.", "missing_uri": "A URI to connect to should be provided.", diff --git a/src/frontend/src/lib/types/i18n.d.ts b/src/frontend/src/lib/types/i18n.d.ts index 33cc68c266..30f16ad949 100644 --- a/src/frontend/src/lib/types/i18n.d.ts +++ b/src/frontend/src/lib/types/i18n.d.ts @@ -468,6 +468,7 @@ interface I18nWallet_connect { eth_transaction_executed: string; sign_executed: string; }; + alt: { disconnect: string }; error: { qr_code_read: string; missing_uri: string;