Removes unnecessary source code
This commit is contained in:
parent
3aff4967f1
commit
7fe421aeba
|
@ -20,15 +20,4 @@ export default class HangupButton extends AbstractHangupButton<Props, *> {
|
|||
api.executeCommand('hangup');
|
||||
window.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,17 +75,6 @@ class InviteButton extends AbstractButton<Props, *> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements React's {@link Component#render()}.
|
||||
*
|
||||
|
|
|
@ -86,17 +86,6 @@ class AudioRouteButton extends AbstractButton<Props, *> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
_setVolumeComponent: (?Object) => void;
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,17 +40,6 @@ class PictureInPictureButton extends AbstractButton<Props, *> {
|
|||
this.props.dispatch(enterPictureInPicture());
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements React's {@link Component#render()}.
|
||||
*
|
||||
|
|
|
@ -55,17 +55,6 @@ class SettingsButton extends AbstractButton<Props, *> {
|
|||
dispatch(toggleSettings());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,17 +35,6 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {
|
|||
label = 'toolbar.mute';
|
||||
tooltip = 'toolbar.mute';
|
||||
|
||||
/**
|
||||
* Indicates if this button should be disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if audio is currently muted ot nor.
|
||||
*
|
||||
|
@ -68,7 +57,6 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {
|
|||
sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));
|
||||
this.props.dispatch(setAudioMuted(audioMuted));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,17 +44,6 @@ class HangupButton extends AbstractHangupButton<Props, *> {
|
|||
this.props.dispatch(disconnect(true));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this button should be disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export default translate(connect()(HangupButton));
|
||||
|
|
|
@ -81,7 +81,6 @@ class VideoMuteButton extends AbstractVideoMuteButton<Props, *> {
|
|||
VIDEO_MUTISM_AUTHORITY.USER,
|
||||
/* ensureTrack */ true));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -39,17 +39,6 @@ class AudioOnlyButton extends AbstractButton<Props, *> {
|
|||
this.props.dispatch(toggleAudioOnly());
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is disabled or not.
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isDisabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this button is in toggled state or not.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue