fix(rn,navbar) fix invalid boolean check

`startTimestamp` is not a boolean, so make sure we return one.
This commit is contained in:
Saúl Ibarra Corretgé 2021-12-03 08:27:09 +01:00 committed by Saúl Ibarra Corretgé
parent 449e226e23
commit 4401ea8818
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ function _mapStateToProps(state) {
return {
_conferenceTimerEnabled:
getFeatureFlag(state, CONFERENCE_TIMER_ENABLED, true) && !hideConferenceTimer && startTimestamp,
Boolean(getFeatureFlag(state, CONFERENCE_TIMER_ENABLED, true) && !hideConferenceTimer && startTimestamp),
_meetingName: getConferenceName(state),
_meetingNameEnabled:
getFeatureFlag(state, MEETING_NAME_ENABLED, true) && !hideConferenceSubject,