fix a missing doc string in Toolbox.js; reorder props alphabetically

This commit is contained in:
Radium Zheng 2018-07-06 02:49:49 +10:00
parent 07bc70c2f5
commit 9c769a650e
1 changed files with 7 additions and 5 deletions

View File

@ -132,6 +132,11 @@ type Props = {
*/ */
_localParticipantID: String, _localParticipantID: String,
/**
* The subsection of Redux state for local recording
*/
_localRecState: Object,
/** /**
* Whether or not the overflow menu is visible. * Whether or not the overflow menu is visible.
*/ */
@ -152,8 +157,6 @@ type Props = {
*/ */
_sharingVideo: boolean, _sharingVideo: boolean,
_localRecState: Object,
/** /**
* Whether or not transcribing is enabled. * Whether or not transcribing is enabled.
*/ */
@ -164,7 +167,6 @@ type Props = {
*/ */
_visible: boolean, _visible: boolean,
_localRecState: any,
/** /**
* Set with the buttons which this Toolbox should display. * Set with the buttons which this Toolbox should display.
@ -1045,10 +1047,10 @@ function _mapStateToProps(state) {
visible visible
} = state['features/toolbox']; } = state['features/toolbox'];
const localParticipant = getLocalParticipant(state); const localParticipant = getLocalParticipant(state);
const localRecordingStates = state['features/local-recording'];
const localVideo = getLocalVideoTrack(state['features/base/tracks']); const localVideo = getLocalVideoTrack(state['features/base/tracks']);
const addPeopleEnabled = isAddPeopleEnabled(state); const addPeopleEnabled = isAddPeopleEnabled(state);
const dialOutEnabled = isDialOutEnabled(state); const dialOutEnabled = isDialOutEnabled(state);
const localRecordingStates = state['features/local-recording'];
let desktopSharingDisabledTooltipKey; let desktopSharingDisabledTooltipKey;
@ -1086,8 +1088,8 @@ function _mapStateToProps(state) {
_isGuest: state['features/base/jwt'].isGuest, _isGuest: state['features/base/jwt'].isGuest,
_fullScreen: fullScreen, _fullScreen: fullScreen,
_localParticipantID: localParticipant.id, _localParticipantID: localParticipant.id,
_overflowMenuVisible: overflowMenuVisible,
_localRecState: localRecordingStates, _localRecState: localRecordingStates,
_overflowMenuVisible: overflowMenuVisible,
_raisedHand: localParticipant.raisedHand, _raisedHand: localParticipant.raisedHand,
_screensharing: localVideo && localVideo.videoType === 'desktop', _screensharing: localVideo && localVideo.videoType === 'desktop',
_transcribingEnabled: transcribingEnabled, _transcribingEnabled: transcribingEnabled,