diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-31 05:50:05 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-31 05:50:05 +0800 |
commit | 4339f04e80be74dd318e03f75fcf3410e923d30d (patch) | |
tree | fbff60758e9dc24a4c11588d7778c92d5f71c7ff /ui/app/components/modals/modal.js | |
parent | b6592ba95f39431d585e8ad19d66364d48c8add3 (diff) | |
download | tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.gz tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.bz2 tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.lz tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.xz tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.zst tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.zip |
use existing modals
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 f59825ed1..5dda50e52 100644 --- a/ui/app/components/modals/modal.js +++ b/ui/app/components/modals/modal.js @@ -21,6 +21,7 @@ const CustomizeGasModal = require('../customize-gas-modal') const NotifcationModal = require('./notification-modal') const ConfirmResetAccount = require('./confirm-reset-account') const ConfirmRemoveAccount = require('./confirm-remove-account') +const QRScanner = require('./qr-scanner') const TransactionConfirmed = require('./transaction-confirmed') const WelcomeBeta = require('./welcome-beta') const Notification = require('./notification') @@ -346,6 +347,18 @@ const MODALS = { borderRadius: '8px', }, }, + QR_SCANNER: { + contents: h(QRScanner), + mobileModalStyle: { + ...modalContainerMobileStyle, + }, + laptopModalStyle: { + ...modalContainerLaptopStyle, + }, + contentStyle: { + borderRadius: '8px', + }, + }, DEFAULT: { contents: [], |