ui - actions - fix log for background call
This commit is contained in:
parent
1a5eccdfc0
commit
ff26042b0c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue