diff options
author | Dan <danjm.com@gmail.com> | 2018-02-09 01:18:25 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-02-09 07:53:16 +0800 |
commit | cd976a2765b9e442642faec8a985c049f8cb393b (patch) | |
tree | 67994c756bf66d2f0395d94d79cf95fe2685502b /ui/app/components/modals/modal.js | |
parent | f39222c9afd9dcab4c6234940eb9a9cb06dbc6f0 (diff) | |
download | tangerine-wallet-browser-cd976a2765b9e442642faec8a985c049f8cb393b.tar.gz tangerine-wallet-browser-cd976a2765b9e442642faec8a985c049f8cb393b.tar.zst tangerine-wallet-browser-cd976a2765b9e442642faec8a985c049f8cb393b.zip |
Add reset account button to new UI.
Diffstat (limited to 'ui/app/components/modals/modal.js')
-rw-r--r-- | ui/app/components/modals/modal.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js index afb2a2175..97fe38292 100644 --- a/ui/app/components/modals/modal.js +++ b/ui/app/components/modals/modal.js @@ -18,6 +18,7 @@ const ShapeshiftDepositTxModal = require('./shapeshift-deposit-tx-modal.js') const HideTokenConfirmationModal = require('./hide-token-confirmation-modal') const CustomizeGasModal = require('../customize-gas-modal') const NotifcationModal = require('./notification-modal') +const ConfirmResetAccount = require('./notification-modals/confirm-reset-account') const accountModalStyle = { mobileModalStyle: { @@ -202,6 +203,18 @@ const MODALS = { }, }, + CONFIRM_RESET_ACCOUNT: { + contents: h(ConfirmResetAccount), + mobileModalStyle: { + width: '95%', + top: isPopupOrNotification() === 'popup' ? '52vh' : '36.5vh', + }, + laptopModalStyle: { + width: '473px', + top: 'calc(33% + 45px)', + }, + }, + NEW_ACCOUNT: { contents: [ h(NewAccountModal, {}, []), |