diff --git a/react/features/local-recording/components/LocalRecordingInfoDialog.js b/react/features/local-recording/components/LocalRecordingInfoDialog.js index 0a6a15390..cb30cbd93 100644 --- a/react/features/local-recording/components/LocalRecordingInfoDialog.js +++ b/react/features/local-recording/components/LocalRecordingInfoDialog.js @@ -148,32 +148,28 @@ class LocalRecordingInfoDialog extends Component { const { isModerator, t } = this.props; return ( -
-
-

- -

-
-
-
- { t('localRecording.localRecording') } + +
+
+
+ + {`${t('localRecording.moderator')}:`} + +   + + { isModerator + ? t('localRecording.yes') + : t('localRecording.no') } + +
+ { this._renderDurationAndFormat() } + { this._renderModeratorControls() }
-
- - {`${t('localRecording.moderator')}:`} - -   - - { isModerator - ? t('localRecording.yes') - : t('localRecording.no') } - -
- { this._renderDurationAndFormat() } - { this._renderModeratorControls() }
-
+ ); } @@ -280,32 +276,27 @@ class LocalRecordingInfoDialog extends Component { } return ( - - +
); } diff --git a/react/features/local-recording/middleware.js b/react/features/local-recording/middleware.js index 4947e8be5..3795a707c 100644 --- a/react/features/local-recording/middleware.js +++ b/react/features/local-recording/middleware.js @@ -27,7 +27,7 @@ MiddlewareRegistry.register(({ getState, dispatch }) => next => action => { case APP_WILL_MOUNT: // realize the delegates on recordingController, allowing the UI to // react to state changes in recordingController. - recordingController.onStateChanged = function(isEngaged) { + recordingController.onStateChanged = isEngaged => { if (isEngaged) { const nowTime = new Date();