|
@@ -237,8 +237,8 @@ class Toolbox extends Component<Props> {
|
237
|
237
|
= this._onToolbarToggleScreenshare.bind(this);
|
238
|
238
|
this._onToolbarToggleSharedVideo
|
239
|
239
|
= this._onToolbarToggleSharedVideo.bind(this);
|
240
|
|
- this._onToolbarToggleLocalRecordingInfoDialog
|
241
|
|
- = this._onToolbarToggleLocalRecordingInfoDialog.bind(this);
|
|
240
|
+ this._onToolbarOpenLocalRecordingInfoDialog
|
|
241
|
+ = this._onToolbarOpenLocalRecordingInfoDialog.bind(this);
|
242
|
242
|
}
|
243
|
243
|
|
244
|
244
|
/**
|
|
@@ -268,11 +268,6 @@ class Toolbox extends Component<Props> {
|
268
|
268
|
character: 'S',
|
269
|
269
|
exec: this._onShortcutToggleFullScreen,
|
270
|
270
|
helpDescription: 'keyboardShortcuts.fullScreen'
|
271
|
|
- },
|
272
|
|
- this._shouldShowButton('localrecording') && {
|
273
|
|
- character: 'L',
|
274
|
|
- exec: this._onToolbarToggleLocalRecordingInfoDialog,
|
275
|
|
- helpDescription: 'keyboardShortcuts.localRecording'
|
276
|
271
|
}
|
277
|
272
|
];
|
278
|
273
|
|
|
@@ -388,10 +383,8 @@ class Toolbox extends Component<Props> {
|
388
|
383
|
<div className = 'button-group-right'>
|
389
|
384
|
{ this._shouldShowButton('localrecording')
|
390
|
385
|
&& <LocalRecordingButton
|
391
|
|
- isDialogShown =
|
392
|
|
- { this.props._localRecState.showDialog }
|
393
|
386
|
onClick = {
|
394
|
|
- this._onToolbarToggleLocalRecordingInfoDialog
|
|
387
|
+ this._onToolbarOpenLocalRecordingInfoDialog
|
395
|
388
|
} />
|
396
|
389
|
}
|
397
|
390
|
{ this._shouldShowButton('invite')
|
|
@@ -864,15 +857,17 @@ class Toolbox extends Component<Props> {
|
864
|
857
|
this._doToggleSharedVideo();
|
865
|
858
|
}
|
866
|
859
|
|
867
|
|
- _onToolbarToggleLocalRecordingInfoDialog: () => void;
|
|
860
|
+ _onToolbarOpenLocalRecordingInfoDialog: () => void;
|
868
|
861
|
|
869
|
862
|
/**
|
870
|
|
- * Switches local recording on or off.
|
|
863
|
+ * Opens the {@code LocalRecordingInfoDialog}.
|
871
|
864
|
*
|
872
|
865
|
* @private
|
873
|
866
|
* @returns {void}
|
874
|
867
|
*/
|
875
|
|
- _onToolbarToggleLocalRecordingInfoDialog() {
|
|
868
|
+ _onToolbarOpenLocalRecordingInfoDialog() {
|
|
869
|
+ sendAnalytics(createToolbarEvent('local.recording'));
|
|
870
|
+
|
876
|
871
|
this.props.dispatch(openDialog(LocalRecordingInfoDialog));
|
877
|
872
|
}
|
878
|
873
|
|