mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Make entire gray container of 'reveal seed phrase' a clickable area. (#3596)
This commit is contained in:
parent
02d2b3db43
commit
9b38a77f46
@ -78,14 +78,16 @@ class BackupPhraseScreen extends Component {
|
|||||||
{this.props.seedWords}
|
{this.props.seedWords}
|
||||||
</div>
|
</div>
|
||||||
{!isShowingSecret && (
|
{!isShowingSecret && (
|
||||||
<div className="backup-phrase__secret-blocker">
|
<div
|
||||||
|
className="backup-phrase__secret-blocker"
|
||||||
|
onClick={() => this.setState({ isShowingSecret: true })}
|
||||||
|
>
|
||||||
<LockIcon width="28px" height="35px" fill="#FFFFFF" />
|
<LockIcon width="28px" height="35px" fill="#FFFFFF" />
|
||||||
<button
|
<div
|
||||||
className="backup-phrase__reveal-button"
|
className="backup-phrase__reveal-button"
|
||||||
onClick={() => this.setState({ isShowingSecret: true })}
|
|
||||||
>
|
>
|
||||||
Click here to reveal secret words
|
Click here to reveal secret words
|
||||||
</button>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user