misc: use longer lines
This commit is contained in:
parent
f9071b8b6b
commit
8e3c301d03
|
@ -127,10 +127,8 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
// Bind event handler so it is only bound once for every instance.
|
// Bind event handler so it is only bound once for every instance.
|
||||||
this._onSignIn = this._onSignIn.bind(this);
|
this._onSignIn = this._onSignIn.bind(this);
|
||||||
this._onSignOut = this._onSignOut.bind(this);
|
this._onSignOut = this._onSignOut.bind(this);
|
||||||
this._onDropboxSwitchChange
|
this._onDropboxSwitchChange = this._onDropboxSwitchChange.bind(this);
|
||||||
= this._onDropboxSwitchChange.bind(this);
|
this._onRecordingServiceSwitchChange = this._onRecordingServiceSwitchChange.bind(this);
|
||||||
this._onRecordingServiceSwitchChange
|
|
||||||
= this._onRecordingServiceSwitchChange.bind(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -237,13 +235,10 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
<Switch
|
<Switch
|
||||||
className = 'recording-switch'
|
className = 'recording-switch'
|
||||||
disabled = { isValidating }
|
disabled = { isValidating }
|
||||||
onValueChange
|
onValueChange = { this._onRecordingServiceSwitchChange }
|
||||||
= { this._onRecordingServiceSwitchChange }
|
|
||||||
style = { styles.switch }
|
style = { styles.switch }
|
||||||
trackColor = {{ false: ColorPalette.lightGrey }}
|
trackColor = {{ false: ColorPalette.lightGrey }}
|
||||||
value = {
|
value = { this.props.selectedRecordingService === RECORDING_TYPES.JITSI_REC_SERVICE } />
|
||||||
this.props.selectedRecordingService
|
|
||||||
=== RECORDING_TYPES.JITSI_REC_SERVICE } />
|
|
||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -464,9 +459,7 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
_onSignIn() {
|
_onSignIn() {
|
||||||
sendAnalytics(
|
sendAnalytics(createRecordingDialogEvent('start', 'signIn.button'));
|
||||||
createRecordingDialogEvent('start', 'signIn.button')
|
|
||||||
);
|
|
||||||
this.props.dispatch(authorizeDropbox());
|
this.props.dispatch(authorizeDropbox());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue