Saúl Ibarra Corretgé 5 лет назад
Родитель
Сommit
8e3c301d03
1 измененных файлов: 5 добавлений и 12 удалений
  1. 5
    12
      react/features/recording/components/Recording/StartRecordingDialogContent.js

+ 5
- 12
react/features/recording/components/Recording/StartRecordingDialogContent.js Просмотреть файл

127
         // Bind event handler so it is only bound once for every instance.
127
         // Bind event handler so it is only bound once for every instance.
128
         this._onSignIn = this._onSignIn.bind(this);
128
         this._onSignIn = this._onSignIn.bind(this);
129
         this._onSignOut = this._onSignOut.bind(this);
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
                     <Switch
235
                     <Switch
238
                         className = 'recording-switch'
236
                         className = 'recording-switch'
239
                         disabled = { isValidating }
237
                         disabled = { isValidating }
240
-                        onValueChange
241
-                            = { this._onRecordingServiceSwitchChange }
238
+                        onValueChange = { this._onRecordingServiceSwitchChange }
242
                         style = { styles.switch }
239
                         style = { styles.switch }
243
                         trackColor = {{ false: ColorPalette.lightGrey }}
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
                 ) : null;
242
                 ) : null;
248
 
243
 
249
         return (
244
         return (
464
      * @returns {void}
459
      * @returns {void}
465
      */
460
      */
466
     _onSignIn() {
461
     _onSignIn() {
467
-        sendAnalytics(
468
-            createRecordingDialogEvent('start', 'signIn.button')
469
-        );
462
+        sendAnalytics(createRecordingDialogEvent('start', 'signIn.button'));
470
         this.props.dispatch(authorizeDropbox());
463
         this.props.dispatch(authorizeDropbox());
471
     }
464
     }
472
 
465
 

Загрузка…
Отмена
Сохранить