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:
parent
07edf3f9ff
commit
def369ba07
@ -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
|
||||||
|
@ -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'),
|
||||||
|
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user