diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2018-01-13 05:41:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-13 05:41:03 +0800 |
commit | 71a308d98b541b05ffabf8f63085e3cbd8bf61b7 (patch) | |
tree | 5f360e4a65a0768817913e99840e3705439432e2 /ui/app/components/modals/modal.js | |
parent | 0f4bfcb02e3a04f044a571e01a4977dae2afec8e (diff) | |
parent | bdcee058dc278c46c828f376476f121417481385 (diff) | |
download | dexon-wallet-71a308d98b541b05ffabf8f63085e3cbd8bf61b7.tar.gz dexon-wallet-71a308d98b541b05ffabf8f63085e3cbd8bf61b7.tar.zst dexon-wallet-71a308d98b541b05ffabf8f63085e3cbd8bf61b7.zip |
Merge branch 'uat' into cb-388
Diffstat (limited to 'ui/app/components/modals/modal.js')
-rw-r--r-- | ui/app/components/modals/modal.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js index 2ff6acca..afb2a217 100644 --- a/ui/app/components/modals/modal.js +++ b/ui/app/components/modals/modal.js @@ -9,6 +9,7 @@ const isPopupOrNotification = require('../../../../app/scripts/lib/is-popup-or-n // Modal Components const BuyOptions = require('./buy-options-modal') +const DepositEtherModal = require('./deposit-ether-modal') const AccountDetailsModal = require('./account-details-modal') const EditAccountNameModal = require('./edit-account-name-modal') const ExportPrivateKeyModal = require('./export-private-key-modal') @@ -73,6 +74,37 @@ const MODALS = { }, }, + DEPOSIT_ETHER: { + contents: [ + h(DepositEtherModal, {}, []), + ], + mobileModalStyle: { + width: '100%', + height: '100%', + transform: 'none', + left: '0', + right: '0', + margin: '0 auto', + boxShadow: '0 0 7px 0 rgba(0,0,0,0.08)', + top: '0', + display: 'flex', + }, + laptopModalStyle: { + width: '900px', + maxWidth: '900px', + top: 'calc(10% + 10px)', + left: '0', + right: '0', + margin: '0 auto', + boxShadow: '0 0 6px 0 rgba(0,0,0,0.3)', + borderRadius: '8px', + transform: 'none', + }, + contentStyle: { + borderRadius: '8px', + }, + }, + EDIT_ACCOUNT_NAME: { contents: [ h(EditAccountNameModal, {}, []), |