|
|
@@ -127,10 +127,8 @@ class StartRecordingDialogContent extends Component<Props> {
|
|
127
|
127
|
// Bind event handler so it is only bound once for every instance.
|
|
128
|
128
|
this._onSignIn = this._onSignIn.bind(this);
|
|
129
|
129
|
this._onSignOut = this._onSignOut.bind(this);
|
|
130
|
|
- this._onDropboxSwitchChange
|
|
131
|
|
- = this._onDropboxSwitchChange.bind(this);
|
|
132
|
|
- this._onRecordingServiceSwitchChange
|
|
133
|
|
- = this._onRecordingServiceSwitchChange.bind(this);
|
|
|
130
|
+ this._onDropboxSwitchChange = this._onDropboxSwitchChange.bind(this);
|
|
|
131
|
+ this._onRecordingServiceSwitchChange = this._onRecordingServiceSwitchChange.bind(this);
|
|
134
|
132
|
}
|
|
135
|
133
|
|
|
136
|
134
|
/**
|
|
|
@@ -237,13 +235,10 @@ class StartRecordingDialogContent extends Component<Props> {
|
|
237
|
235
|
<Switch
|
|
238
|
236
|
className = 'recording-switch'
|
|
239
|
237
|
disabled = { isValidating }
|
|
240
|
|
- onValueChange
|
|
241
|
|
- = { this._onRecordingServiceSwitchChange }
|
|
|
238
|
+ onValueChange = { this._onRecordingServiceSwitchChange }
|
|
242
|
239
|
style = { styles.switch }
|
|
243
|
240
|
trackColor = {{ false: ColorPalette.lightGrey }}
|
|
244
|
|
- value = {
|
|
245
|
|
- this.props.selectedRecordingService
|
|
246
|
|
- === RECORDING_TYPES.JITSI_REC_SERVICE } />
|
|
|
241
|
+ value = { this.props.selectedRecordingService === RECORDING_TYPES.JITSI_REC_SERVICE } />
|
|
247
|
242
|
) : null;
|
|
248
|
243
|
|
|
249
|
244
|
return (
|
|
|
@@ -464,9 +459,7 @@ class StartRecordingDialogContent extends Component<Props> {
|
|
464
|
459
|
* @returns {void}
|
|
465
|
460
|
*/
|
|
466
|
461
|
_onSignIn() {
|
|
467
|
|
- sendAnalytics(
|
|
468
|
|
- createRecordingDialogEvent('start', 'signIn.button')
|
|
469
|
|
- );
|
|
|
462
|
+ sendAnalytics(createRecordingDialogEvent('start', 'signIn.button'));
|
|
470
|
463
|
this.props.dispatch(authorizeDropbox());
|
|
471
|
464
|
}
|
|
472
|
465
|
|