aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/app/first-time/seed-screen.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-08-17 23:56:34 +0800
committerGitHub <noreply@github.com>2018-08-17 23:56:34 +0800
commit9268c4ed548be9d44a47757a36a3f210f8de3787 (patch)
tree63c7260de8abdf4b77d9cc6369b2d3dd4df7bd33 /mascara/src/app/first-time/seed-screen.js
parentef7e638dda63a715c796c210dadbe82430537b6a (diff)
parentd636cc35523f52f630162a1b342b5267b6cd246e (diff)
downloadtangerine-wallet-browser-9268c4ed548be9d44a47757a36a3f210f8de3787.tar.gz
tangerine-wallet-browser-9268c4ed548be9d44a47757a36a3f210f8de3787.tar.zst
tangerine-wallet-browser-9268c4ed548be9d44a47757a36a3f210f8de3787.zip
Merge pull request #5079 from MetaMask/v4.9.3
Version 4.9.3
Diffstat (limited to 'mascara/src/app/first-time/seed-screen.js')
-rw-r--r--mascara/src/app/first-time/seed-screen.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/mascara/src/app/first-time/seed-screen.js b/mascara/src/app/first-time/seed-screen.js
index d004be77b..97d5d7930 100644
--- a/mascara/src/app/first-time/seed-screen.js
+++ b/mascara/src/app/first-time/seed-screen.js
@@ -5,6 +5,7 @@ import classnames from 'classnames'
import { withRouter } from 'react-router-dom'
import { compose } from 'recompose'
import Identicon from '../../../../ui/app/components/identicon'
+import {exportAsFile} from '../../../../ui/app/util'
import Breadcrumbs from './breadcrumbs'
import LoadingScreen from './loading-screen'
import { DEFAULT_ROUTE, INITIALIZE_CONFIRM_SEED_ROUTE } from '../../../../ui/app/routes'
@@ -65,6 +66,12 @@ class BackupPhraseScreen extends Component {
}
}
+ exportSeedWords = () => {
+ const { seedWords } = this.props
+
+ exportAsFile('MetaMask Secret Backup Phrase', seedWords, 'text/plain')
+ }
+
renderSecretWordsContainer () {
const { isShowingSecret } = this.state
@@ -111,7 +118,7 @@ class BackupPhraseScreen extends Component {
<div className="backup-phrase__tips">
<div className="backup-phrase__tips-text">Tips:</div>
<div className="backup-phrase__tips-text">
- Store this phrase in a password manager like 1password.
+ Store this phrase in a password manager like 1Password.
</div>
<div className="backup-phrase__tips-text">
Write this phrase on a piece of paper and store in a secure location. If you want even more security, write it down on multiple pieces of paper and store each in 2 - 3 different locations.
@@ -119,6 +126,13 @@ class BackupPhraseScreen extends Component {
<div className="backup-phrase__tips-text">
Memorize this phrase.
</div>
+ <div className="backup-phrase__tips-text">
+ <strong>
+ <a className="backup-phrase__tips-text--link backup-phrase__tips-text--strong" onClick={this.exportSeedWords}>
+ Download this Secret Backup Phrase
+ </a>
+ </strong> and keep it stored safely on an external encrypted hard drive or storage medium.
+ </div>
</div>
<div className="backup-phrase__next-button">
<button