1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Move beta warning to app header.

This commit is contained in:
Dan 2018-02-27 13:43:22 -03:30
parent 07edf3f9ff
commit def369ba07
2 changed files with 6 additions and 1 deletions

View File

@ -59,7 +59,6 @@ class CreatePasswordScreen extends Component {
? <LoadingScreen loadingMessage="Creating your new account" /> ? <LoadingScreen loadingMessage="Creating your new account" />
: ( : (
<div> <div>
<h2 className="alpha-warning">Please be aware that this version is still in under development.</h2>
<div className="first-view-main"> <div className="first-view-main">
<div className="mascara-info"> <div className="mascara-info">
<Mascot <Mascot

View File

@ -239,6 +239,9 @@ App.prototype.renderAppBar = function () {
showNetworkDropdown, showNetworkDropdown,
hideNetworkDropdown, hideNetworkDropdown,
currentView, currentView,
isInitialized,
betaUI,
isPopup,
} = this.props } = this.props
if (window.METAMASK_UI_TYPE === 'notification') { 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'),
]) ])
) )
} }