[Bugfix] Fix AMOLED state on 170.2+
This commit is contained in:
parent
c54f9fe426
commit
abe307ee57
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ function onDispatch({ locale }: { locale: string }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We're done here!
|
// We're done here!
|
||||||
FluxDispatcher.unsubscribe("I18N_LOAD_START", onDispatch);
|
FluxDispatcher.unsubscribe("I18N_LOAD_SUCCESS", onDispatch);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default () => FluxDispatcher.subscribe("I18N_LOAD_START", onDispatch);
|
export default () => FluxDispatcher.subscribe("I18N_LOAD_SUCCESS", onDispatch);
|
Loading…
Reference in a new issue