diff options
author | Dan <danjm.com@gmail.com> | 2018-01-20 03:52:57 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2018-01-20 07:31:11 +0800 |
commit | c554e52e82b53447dd77c265723e914063d518b1 (patch) | |
tree | 164a0ef165f95d16786d8248507a985e324d4cfb | |
parent | 4e63924e607a07f94ff0a741a036ab352b0b7a3f (diff) | |
download | tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.tar tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.tar.gz tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.tar.bz2 tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.tar.lz tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.tar.xz tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.tar.zst tangerine-wallet-browser-c554e52e82b53447dd77c265723e914063d518b1.zip |
Get version from manifest instead of hard coding in New UI info page.
-rw-r--r-- | ui/app/settings.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/settings.js b/ui/app/settings.js index 686e31bb9..4e25ce084 100644 --- a/ui/app/settings.js +++ b/ui/app/settings.js @@ -333,6 +333,8 @@ class Settings extends Component { } renderInfoContent () { + const version = global.platform.getVersion() + return ( h('div.settings__content', [ h('div.settings__content-row', [ @@ -340,7 +342,7 @@ class Settings extends Component { this.renderLogo(), h('div.settings__info-item', [ h('div.settings__info-version-header', 'MetaMask Version'), - h('div.settings__info-version-number', '4.0.0'), + h('div.settings__info-version-number', version), ]), h('div.settings__info-item', [ h( |