diff options
author | bitpshr <mail@bitpshr.net> | 2018-10-02 08:52:31 +0800 |
---|---|---|
committer | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-11-06 07:07:09 +0800 |
commit | 89b4aa5d62237f36fac9dcce9c546005ec18968b (patch) | |
tree | 38bb13f74680cff733c330b2009eddbf4770a098 /ui/app/components/modals/modal.js | |
parent | c76c9ca2c86317f902f443db2c5704d4bf6311c0 (diff) | |
download | tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.gz tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.bz2 tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.lz tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.xz tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.zst tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.zip |
EIP-1102: Add option to force-enable provider
Diffstat (limited to 'ui/app/components/modals/modal.js')
-rw-r--r-- | ui/app/components/modals/modal.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js index 5aff4f5e1..bdf8e4b9e 100644 --- a/ui/app/components/modals/modal.js +++ b/ui/app/components/modals/modal.js @@ -29,6 +29,7 @@ import CancelTransaction from './cancel-transaction' import WelcomeBeta from './welcome-beta' import RejectTransactions from './reject-transactions' import ClearApprovedOrigins from './clear-approved-origins' +import ForceInjection from './force-injection' const modalContainerBaseStyle = { transform: 'translate3d(-50%, 0, 0px)', @@ -226,6 +227,19 @@ const MODALS = { }, }, + FORCE_INJECTION: { + contents: h(ForceInjection), + mobileModalStyle: { + ...modalContainerMobileStyle, + }, + laptopModalStyle: { + ...modalContainerLaptopStyle, + }, + contentStyle: { + borderRadius: '8px', + }, + }, + OLD_UI_NOTIFICATION_MODAL: { contents: [ h(NotifcationModal, { |