fix(rn) fix mobile build

Looks like a transform error of some sort, it chokes on the ??=
shorthand syntax.
This commit is contained in:
Saúl Ibarra Corretgé 2022-07-04 17:04:33 +02:00 committed by Saúl Ibarra Corretgé
parent 892751154c
commit dffa71666c
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ function _translateLegacyConfig(oldValue: IConfig) {
newValue.conferenceInfo = _getConferenceInfo(oldValue);
filteredConferenceInfo.forEach(key => {
newValue.conferenceInfo ??= {};
newValue.conferenceInfo = oldValue.conferenceInfo ?? {};
// hideRecordingLabel does not mean not render it at all, but autoHide it
if (key === 'hideRecordingLabel') {
newValue.conferenceInfo.alwaysVisible