diff --git a/src/components/WalletModal.tsx b/src/components/WalletModal.tsx index 835e8d1..2d4be77 100644 --- a/src/components/WalletModal.tsx +++ b/src/components/WalletModal.tsx @@ -68,13 +68,7 @@ const AddWalletContent = forwardRef
-

Nostr Wallet Connect

- +

{t('walletUi.modal.connectWallet')}

+ {connections.length > 0 && ( + + )}
{/* Connected Wallets List */} @@ -166,7 +162,8 @@ const WalletContent = forwardRef - {/* WebLN - Secondary Option */} + {/* WebLN - show only when a provider is actually detected. */} + {webln && (
@@ -184,35 +181,19 @@ const WalletContent = forwardRef
- - {/* Recommended Wallets - Show when no wallet connected */} - {!webln && connections.length === 0 && ( - <> - -
-

{t('walletUi.modal.getNwcFrom')}

-
- {RECOMMENDED_WALLETS.map((wallet) => ( - -
- - {wallet.name} -
- - {wallet.type} - -
- ))} -
-
- )} + +

+ {t('walletUi.modal.nwcHelp')}{' '} + + {t('walletUi.page.learnPlanB')} + +

); }); diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 41ff510..7ebc0c4 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -5874,6 +5874,7 @@ walletUi: { ready: 'Ready', notFound: 'Not Found', getNwcFrom: 'Get NWC from:', + nwcHelp: 'Open your wallet’s Nostr Wallet Connect settings, create a connection, and paste the link here.', connectionRequired: 'Connection URI required', connectionRequiredDesc: 'Please enter a valid NWC connection URI.', activeChanged: 'Active wallet changed', diff --git a/src/i18n/es.ts b/src/i18n/es.ts index 4fde676..2a88d9c 100644 --- a/src/i18n/es.ts +++ b/src/i18n/es.ts @@ -5874,6 +5874,7 @@ walletUi: { ready: 'Lista', notFound: 'No encontrada', getNwcFrom: 'Consigue NWC en:', + nwcHelp: 'Abre los ajustes de Nostr Wallet Connect de tu cartera, crea una conexión y pega el enlace aquí.', connectionRequired: 'URI de conexión obligatoria', connectionRequiredDesc: 'Introduce una URI de conexión NWC válida.', activeChanged: 'Cartera activa cambiada', diff --git a/src/pages/WalletPage.tsx b/src/pages/WalletPage.tsx index 08d7e2d..e203388 100644 --- a/src/pages/WalletPage.tsx +++ b/src/pages/WalletPage.tsx @@ -93,61 +93,27 @@ function StatusPill({ function GetAWallet() { const { t } = useTranslation(); - const [open, setOpen] = useState(false); - - const wallets = [ - { name: 'Minibits', desc: t('walletUi.page.walletMinibits'), url: 'https://www.minibits.cash', color: 'text-orange-400' }, - { name: 'Alby', desc: t('walletUi.page.walletAlby'), url: 'https://getalby.com', color: 'text-yellow-400' }, - { name: 'Zeus', desc: t('walletUi.page.walletZeus'), url: 'https://zeusln.com', color: 'text-blue-400' }, - { name: 'Coinos', desc: t('walletUi.page.walletCoinos'), url: 'https://coinos.io', color: 'text-green-400' }, - ]; return (
- - - {open && ( -
- {wallets.map((w) => ( - -
-

{w.name}

-

{w.desc}

-
- -
- ))} -
- - - {t('walletUi.page.learnPlanB')} - -
-
- )} +
+ + {t('walletUi.page.getAWallet')} +
+
+

+ {t('walletUi.modal.nwcHelp')} +

+ + + {t('walletUi.page.learnPlanB')} + +
); }