aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-02-28 01:13:22 +0800
committerDan <danjm.com@gmail.com>2018-02-28 01:43:05 +0800
commitdef369ba079fb3596c126fe9b622eda46afa54f6 (patch)
treeebfdfb26fd562e49a17a917f94450a949e4178cf
parent07edf3f9ffdee9459f4d0b9d30b8b6821d26dbf0 (diff)
downloadtangerine-wallet-browser-def369ba079fb3596c126fe9b622eda46afa54f6.tar.gz
tangerine-wallet-browser-def369ba079fb3596c126fe9b622eda46afa54f6.tar.zst
tangerine-wallet-browser-def369ba079fb3596c126fe9b622eda46afa54f6.zip
Move beta warning to app header.
-rw-r--r--mascara/src/app/first-time/create-password-screen.js1
-rw-r--r--ui/app/app.js6
2 files changed, 6 insertions, 1 deletions
diff --git a/mascara/src/app/first-time/create-password-screen.js b/mascara/src/app/first-time/create-password-screen.js
index d348eaa1a..450d6a479 100644
--- a/mascara/src/app/first-time/create-password-screen.js
+++ b/mascara/src/app/first-time/create-password-screen.js
@@ -59,7 +59,6 @@ class CreatePasswordScreen extends Component {
? <LoadingScreen loadingMessage="Creating your new account" />
: (
<div>
- <h2 className="alpha-warning">Please be aware that this version is still in under development.</h2>
<div className="first-view-main">
<div className="mascara-info">
<Mascot
diff --git a/ui/app/app.js b/ui/app/app.js
index 58e38a077..7490c63b1 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -239,6 +239,9 @@ App.prototype.renderAppBar = function () {
showNetworkDropdown,
hideNetworkDropdown,
currentView,
+ isInitialized,
+ betaUI,
+ isPopup,
} = this.props
if (window.METAMASK_UI_TYPE === 'notification') {
@@ -317,6 +320,9 @@ App.prototype.renderAppBar = function () {
]),
]),
+ !isInitialized && !isPopup && betaUI && h('h2.alpha-warning',
+ 'Please be aware that this version is still under development'),
+
])
)
}