[auth] use [DEFAULT] languageCode for dynamic apps

This commit is contained in:
Elliot Hesp 2018-01-08 11:30:59 +00:00
parent 409cd70ab1
commit 06424aff14
1 changed files with 1 additions and 1 deletions

View File

@ -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