diff --git a/src/components/ModalAddressMode.js b/src/components/ModalAddressMode.js index 191cd200..424ffa10 100644 --- a/src/components/ModalAddressMode.js +++ b/src/components/ModalAddressMode.js @@ -11,6 +11,8 @@ import { t } from 'ttag'; import { getGlobalWallet } from '../modules/wallet'; import helpers from '../utils/helpers'; import { ADDRESS_MODE } from '../constants'; +import RadioGroup from './Radio/RadioGroup'; +import PreferenceSaveButton from './PreferenceSaveButton'; const LEARN_MORE_URL = 'https://docs.hathor.network/explanations/features/wallet-service/address-mode'; @@ -66,78 +68,53 @@ function ModalAddressMode({ currentMode, onSave, onClose }) { -
+
{t`You can set your wallet to `}{t`single or multi address mode`}{'.'}
{t`You can switch anytime in the settings.`}
- {t`Your wallet will use only one address (index 0).`}
-
- {t`Easier to manage and compatible with all dApps.`}
-
- {t`Your wallet will let you generate multiple addresses.`}
-
- {t`Useful for advanced users.`}
-
{description}
-{description}
; + }; + + const renderHint = () => { + if (!hint) { + return null; + } + return {hint}; + }; + + return ( +