ui - actions - fix log for background call

This commit is contained in:
kumavis 2018-03-27 18:21:46 -07:00
parent 1a5eccdfc0
commit ff26042b0c
1 changed files with 1 additions and 1 deletions

View File

@ -1803,9 +1803,9 @@ function setUseBlockie (val) {
function updateCurrentLocale (key) {
return (dispatch) => {
dispatch(actions.showLoadingIndication())
log.debug(`background.updateCurrentLocale`)
fetchLocale(key)
.then((localeMessages) => {
log.debug(`background.setCurrentLocale`)
background.setCurrentLocale(key, (err) => {
dispatch(actions.hideLoadingIndication())
if (err) {