aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-03-23 06:34:23 +0800
committerGitHub <noreply@github.com>2017-03-23 06:34:23 +0800
commit7e6445110a4a5c6a792fec8d3b899cec05e169fd (patch)
treea9c553435ef7bb08b3bf2dc7278ccbd181cab4e4
parent1b7326048db25afc36baea84ebcf9ece0847f3c3 (diff)
parent33ba38df6e3d2e088442968261c740e892387411 (diff)
downloadtangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.tar
tangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.tar.gz
tangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.tar.bz2
tangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.tar.lz
tangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.tar.xz
tangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.tar.zst
tangerine-wallet-browser-7e6445110a4a5c6a792fec8d3b899cec05e169fd.zip
Merge branch 'master' into i1227-uidumpblockhash
-rw-r--r--CHANGELOG.md1
-rw-r--r--ui/app/actions.js7
-rw-r--r--ui/app/reducers/app.js1
3 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6621d89f4..ce9d013e8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@
- Added an address book functionality that remembers the last 15 unique addresses sent to.
- Can now change network to custom RPC URL from lock screen.
- Removed support for old, lightwallet based vault. Users who have not opened app in over a month will need to recover with their seed phrase. This will allow Firefox support sooner.
+- Fixed bug where spinner wouldn't disappear on incorrect password submission on seed word reveal.
- Polish the private key UI.
## 3.4.0 2017-3-8
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 9d6676d01..d02b7dcaa 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -269,11 +269,12 @@ function requestRevealSeed (password) {
dispatch(actions.showLoadingIndication())
log.debug(`background.submitPassword`)
background.submitPassword(password, (err) => {
- if (err) return dispatch(actions.displayWarning(err.message))
+ if (err) {
+ return dispatch(actions.displayWarning(err.message))
+ }
log.debug(`background.placeSeedWords`)
background.placeSeedWords((err) => {
if (err) return dispatch(actions.displayWarning(err.message))
- dispatch(actions.hideLoadingIndication())
})
})
}
@@ -296,10 +297,10 @@ function importNewAccount (strategy, args) {
dispatch(actions.showLoadingIndication('This may take a while, be patient.'))
log.debug(`background.importAccountWithStrategy`)
background.importAccountWithStrategy(strategy, args, (err) => {
- dispatch(actions.hideLoadingIndication())
if (err) return dispatch(actions.displayWarning(err.message))
log.debug(`background.getState`)
background.getState((err, newState) => {
+ dispatch(actions.hideLoadingIndication())
if (err) {
return dispatch(actions.displayWarning(err.message))
}
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 7ea1e1d7c..b9e3f7b16 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -426,6 +426,7 @@ function reduceApp (state, action) {
case actions.DISPLAY_WARNING:
return extend(appState, {
warning: action.value,
+ isLoading: false,
})
case actions.HIDE_WARNING: