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) {
|
function updateCurrentLocale (key) {
|
||||||
return (dispatch) => {
|
return (dispatch) => {
|
||||||
dispatch(actions.showLoadingIndication())
|
dispatch(actions.showLoadingIndication())
|
||||||
log.debug(`background.updateCurrentLocale`)
|
|
||||||
fetchLocale(key)
|
fetchLocale(key)
|
||||||
.then((localeMessages) => {
|
.then((localeMessages) => {
|
||||||
|
log.debug(`background.setCurrentLocale`)
|
||||||
background.setCurrentLocale(key, (err) => {
|
background.setCurrentLocale(key, (err) => {
|
||||||
dispatch(actions.hideLoadingIndication())
|
dispatch(actions.hideLoadingIndication())
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in New Issue