[auth] use [DEFAULT] languageCode for dynamic apps
This commit is contained in:
parent
409cd70ab1
commit
06424aff14
|
@ -48,7 +48,7 @@ export default class Auth extends ModuleBase {
|
||||||
});
|
});
|
||||||
this._user = null;
|
this._user = null;
|
||||||
this._authResult = null;
|
this._authResult = null;
|
||||||
this._languageCode = getNativeModule(this).APP_LANGUAGE[app._name] || null;
|
this._languageCode = getNativeModule(this).APP_LANGUAGE[app._name] || getNativeModule(this).APP_LANGUAGE['[DEFAULT]'];
|
||||||
|
|
||||||
SharedEventEmitter.addListener(
|
SharedEventEmitter.addListener(
|
||||||
// sub to internal native event - this fans out to
|
// sub to internal native event - this fans out to
|
||||||
|
|
Loading…
Reference in New Issue