aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-10-05 00:56:40 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-10-05 00:56:40 +0800
commit2f135c2e68ae58e009212be862bf2318b55a1180 (patch)
tree080d9972c576685d43c0312cf1f7599b54460b6f /ui/app
parent147b81068a643074a1fd7aa3e0488263a64961ad (diff)
downloadtangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.tar
tangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.tar.gz
tangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.tar.bz2
tangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.tar.lz
tangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.tar.xz
tangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.tar.zst
tangerine-wallet-browser-2f135c2e68ae58e009212be862bf2318b55a1180.zip
Include browser version
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/reducers.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 99cbda8aa..6307998c2 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -44,9 +44,11 @@ function rootReducer (state, action) {
window.logState = function () {
let state = window.METAMASK_CACHED_LOG_STATE
const version = global.platform.getVersion()
+ const browser = global.navigator.userAgent()
const platform = global.platform.getPlatformInfo()
state.version = version
state.platform = platform
+ state.browser = browser
let stateString = JSON.stringify(state, removeSeedWords, 2)
return stateString
}