Fix double file recording sharing switch

This commit is contained in:
Bettenbuk Zoltan 2019-04-24 11:38:20 +02:00 committed by Дамян Минков
parent e98c169c2f
commit f92d530b0a
1 changed files with 4 additions and 5 deletions

View File

@ -144,6 +144,7 @@ class StartRecordingDialogContent extends Component<Props> {
style = { styles.container }> style = { styles.container }>
{ this._renderNoIntegrationsContent() } { this._renderNoIntegrationsContent() }
{ this._renderIntegrationsContent() } { this._renderIntegrationsContent() }
{ this._renderFileSharingContent() }
</Container> </Container>
); );
} }
@ -233,7 +234,7 @@ class StartRecordingDialogContent extends Component<Props> {
=== RECORDING_TYPES.JITSI_REC_SERVICE } /> === RECORDING_TYPES.JITSI_REC_SERVICE } />
) : null; ) : null;
return [ return (
<Container <Container
className = 'recording-header' className = 'recording-header'
key = 'noIntegrationSetting' key = 'noIntegrationSetting'
@ -253,9 +254,8 @@ class StartRecordingDialogContent extends Component<Props> {
{ t('recording.serviceDescription') } { t('recording.serviceDescription') }
</Text> </Text>
{ switchContent } { switchContent }
</Container>, </Container>
this._renderFileSharingContent() );
];
} }
/** /**
@ -340,7 +340,6 @@ class StartRecordingDialogContent extends Component<Props> {
className = 'authorization-panel'> className = 'authorization-panel'>
{ content } { content }
</Container> </Container>
{ this._renderFileSharingContent() }
</Container> </Container>
); );
} }