diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-10-05 00:56:18 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-10-05 00:56:18 +0800 |
commit | 147b81068a643074a1fd7aa3e0488263a64961ad (patch) | |
tree | e011b4b7a04a5cd8e304391038b13efdb7c27f11 | |
parent | f12504cd09f136fb5ac0d4dd2a6afab8fa6e6524 (diff) | |
download | tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.tar tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.tar.gz tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.tar.bz2 tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.tar.lz tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.tar.xz tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.tar.zst tangerine-wallet-browser-147b81068a643074a1fd7aa3e0488263a64961ad.zip |
Include OS version
-rw-r--r-- | app/scripts/platforms/extension.js | 4 | ||||
-rw-r--r-- | ui/app/reducers.js | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index 0afe04b74..83c77a77f 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -17,6 +17,10 @@ class ExtensionPlatform { return extension.runtime.getManifest().version } + getPlatformInfo () { + return extension.runtime.getPlatformInfo() + } + } module.exports = ExtensionPlatform diff --git a/ui/app/reducers.js b/ui/app/reducers.js index 6a2f44534..99cbda8aa 100644 --- a/ui/app/reducers.js +++ b/ui/app/reducers.js @@ -44,7 +44,9 @@ function rootReducer (state, action) { window.logState = function () { let state = window.METAMASK_CACHED_LOG_STATE const version = global.platform.getVersion() + const platform = global.platform.getPlatformInfo() state.version = version + state.platform = platform let stateString = JSON.stringify(state, removeSeedWords, 2) return stateString } |