[Bugfix] Fix AMOLED state on 170.2+

This commit is contained in:
Beef 2023-03-08 20:49:41 +00:00
parent c54f9fe426
commit abe307ee57

View file

@ -27,7 +27,7 @@ function onDispatch({ locale }: { locale: string }) {
}
// 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);