mirror of https://github.com/jitsi/jitsi-meet
The audio route selector is how in the header. The mute options are in the participants pane, with the rest of the moderation controls.pull/10791/head
parent
8236764501
commit
9c5b5e5b75
@ -1,40 +0,0 @@ |
||||
// @flow
|
||||
|
||||
import { openDialog } from '../../../base/dialog'; |
||||
import { translate } from '../../../base/i18n'; |
||||
import { IconAudioRoute } from '../../../base/icons'; |
||||
import { connect } from '../../../base/redux'; |
||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components'; |
||||
|
||||
import AudioRoutePickerDialog from './AudioRoutePickerDialog'; |
||||
|
||||
|
||||
type Props = AbstractButtonProps & { |
||||
|
||||
/** |
||||
* The redux {@code dispatch} function used to open/show the |
||||
* {@code AudioRoutePickerDialog}. |
||||
*/ |
||||
dispatch: Function |
||||
}; |
||||
|
||||
/** |
||||
* A toolbar button which triggers an audio route picker when pressed. |
||||
*/ |
||||
class AudioRouteButton extends AbstractButton<Props, *> { |
||||
accessibilityLabel = 'toolbar.accessibilityLabel.audioRoute'; |
||||
icon = IconAudioRoute; |
||||
label = 'toolbar.audioRoute'; |
||||
|
||||
/** |
||||
* Handles clicking / pressing the button, and opens the appropriate dialog. |
||||
* |
||||
* @private |
||||
* @returns {void} |
||||
*/ |
||||
_handleClick() { |
||||
this.props.dispatch(openDialog(AudioRoutePickerDialog)); |
||||
} |
||||
} |
||||
|
||||
export default translate(connect()(AudioRouteButton)); |
@ -1 +0,0 @@ |
||||
export { default as AudioRouteButton } from './AudioRouteButton'; |
Loading…
Reference in new issue