Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMB-283] refactor: wallet settings redesign #78

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,26 @@
"what-asset": "What is {asset}?"
},
"Wallet": {
"Settings": {
"decrypt": "Decrypt to view your wallet’s secret mnemonic.",
"decrypted": "Decrypted Mnemonic",
"descriptor": "Descriptor",
"miban": "Share this code with other people to receive payments.",
"name": "Wallet Name",
"settings": "Wallet Settings",
"tech-info": "Technical information about your wallet, helpful for advanced recovery.",
"unlock": "Unlock to Decrypt"
},
"Vault": {
"lock": "Lock",
"lock-wallet": "Lock your wallet",
"locked": "Locked",
"password": "Your BancoLibre Password",
"seed": "Your seed phrase is encrypted with your password.",
"unlock": "Unlock",
"unlock-wallet": "Unlock your wallet",
"unlocked": "Unlocked"
},
"add-contact": "Add Contact",
"add-desc": "Add Description",
"amount": "Please specify an amount.",
Expand Down Expand Up @@ -52,6 +72,7 @@
"decrypt": "Decrypt",
"done": "Done",
"email": "Email",
"error": "Error",
"mnemonic": "Encrypted Mnemonic",
"next": "Next",
"optional": "Optional",
Expand Down
21 changes: 21 additions & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,26 @@
"what-asset": "Qué es {asset}?"
},
"Wallet": {
"Settings": {
"decrypt": "Desencriptar para ver la frase secreta de tu billetera.",
"decrypted": "Frase Secreta Desencriptada",
"descriptor": "Descriptor",
"miban": "Comparte este código con otras personas para recibir pagos.",
"name": "Nombre de la Billetera",
"settings": "Configuración de la Billetera",
"tech-info": "Información técnica sobre tu billetera, útil para recuperación avanzada.",
"unlock": "Desbloquear para Desencriptar"
},
"Vault": {
"lock": "Bloquear",
"lock-wallet": "Bloquear tu billetera",
"locked": "Bloqueado",
"password": "Tu Contraseña de BancoLibre",
"seed": "Tu frase semilla está encriptada con tu contraseña.",
"unlock": "Desbloquear",
"unlock-wallet": "Desbloquear tu billetera",
"unlocked": "Desbloqueado"
},
"add-contact": "Agregar Contacto",
"add-desc": "Agrega una descripción",
"amount": "Especifíca una cantidad.",
Expand Down Expand Up @@ -52,6 +72,7 @@
"decrypt": "Descifra",
"done": "Terminado",
"email": "Correo",
"error": "Error",
"mnemonic": "Mnemonic Cifrada",
"next": "Siguiente",
"optional": "Opcional",
Expand Down
15 changes: 0 additions & 15 deletions src/app/(app)/(layout)/wallet/[walletId]/settings/page.tsx

This file was deleted.

7 changes: 7 additions & 0 deletions src/app/(app)/(layout)/wallet/settings/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use client';

import { WalletSettings } from '@/views/wallet/Settings';

export default function Page() {
return <WalletSettings />;
}
2 changes: 2 additions & 0 deletions src/components/button/VaultButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ const PasskeyVaultButton: FC<{
title: 'Unable to unlock.',
description: messages.join(', '),
});

return;
}

setKeys({
Expand Down
Loading
Loading