diff options
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 2fd1ccc1c..14cbeac42 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -216,9 +216,13 @@ function revealAccount () { } } + + function setCurrentFiat (fiat) { return (dispatch) => { + dispatch(this.showLoadingIndication()) _accountManager.setCurrentFiat(fiat, (data, err) => { + dispatch(this.hideLoadingIndication()) dispatch({ type: this.SET_CURRENT_FIAT, value: { |