1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

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

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) {