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:
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
Block a user