diff --git a/react/features/always-on-top/HangupButton.js b/react/features/always-on-top/HangupButton.js index c8b7e37cc..f4a821075 100644 --- a/react/features/always-on-top/HangupButton.js +++ b/react/features/always-on-top/HangupButton.js @@ -20,15 +20,4 @@ export default class HangupButton extends AbstractHangupButton { api.executeCommand('hangup'); window.close(); } - - /** - * Indicates whether this button is disabled or not. - * - * @override - * @private - * @returns {boolean} - */ - _isDisabled() { - return false; - } } diff --git a/react/features/invite/components/InviteButton.native.js b/react/features/invite/components/InviteButton.native.js index 0d8c12e61..beeb5c85a 100644 --- a/react/features/invite/components/InviteButton.native.js +++ b/react/features/invite/components/InviteButton.native.js @@ -75,17 +75,6 @@ class InviteButton extends AbstractButton { } } - /** - * Indicates whether this button is disabled or not. - * - * @override - * @private - * @returns {boolean} - */ - _isDisabled() { - return false; - } - /** * Implements React's {@link Component#render()}. * diff --git a/react/features/mobile/audio-mode/components/AudioRouteButton.js b/react/features/mobile/audio-mode/components/AudioRouteButton.js index 545947d0a..b34f7333e 100644 --- a/react/features/mobile/audio-mode/components/AudioRouteButton.js +++ b/react/features/mobile/audio-mode/components/AudioRouteButton.js @@ -86,17 +86,6 @@ class AudioRouteButton extends AbstractButton { } } - /** - * Indicates whether this button is disabled or not. - * - * @override - * @private - * @returns {boolean} - */ - _isDisabled() { - return false; - } - _setVolumeComponent: (?Object) => void; /** diff --git a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js index 5c585a424..e1f48ebc7 100644 --- a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js +++ b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js @@ -40,17 +40,6 @@ class PictureInPictureButton extends AbstractButton { 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()}. * diff --git a/react/features/settings/components/web/SettingsButton.js b/react/features/settings/components/web/SettingsButton.js index a3b588339..c7b330d18 100644 --- a/react/features/settings/components/web/SettingsButton.js +++ b/react/features/settings/components/web/SettingsButton.js @@ -55,17 +55,6 @@ class SettingsButton extends AbstractButton { dispatch(toggleSettings()); } } - - /** - * Indicates whether this button is disabled or not. - * - * @override - * @private - * @returns {boolean} - */ - _isDisabled() { - return false; - } } /** diff --git a/react/features/toolbox/components/AudioMuteButton.js b/react/features/toolbox/components/AudioMuteButton.js index ab084872b..ba564b37a 100644 --- a/react/features/toolbox/components/AudioMuteButton.js +++ b/react/features/toolbox/components/AudioMuteButton.js @@ -35,17 +35,6 @@ class AudioMuteButton extends AbstractAudioMuteButton { 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 { sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted })); this.props.dispatch(setAudioMuted(audioMuted)); } - } /** diff --git a/react/features/toolbox/components/HangupButton.js b/react/features/toolbox/components/HangupButton.js index 5c9d305a5..0b33a4813 100644 --- a/react/features/toolbox/components/HangupButton.js +++ b/react/features/toolbox/components/HangupButton.js @@ -44,17 +44,6 @@ class HangupButton extends AbstractHangupButton { 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)); diff --git a/react/features/toolbox/components/VideoMuteButton.js b/react/features/toolbox/components/VideoMuteButton.js index 8a48c055d..ef9782637 100644 --- a/react/features/toolbox/components/VideoMuteButton.js +++ b/react/features/toolbox/components/VideoMuteButton.js @@ -81,7 +81,6 @@ class VideoMuteButton extends AbstractVideoMuteButton { VIDEO_MUTISM_AUTHORITY.USER, /* ensureTrack */ true)); } - } /** diff --git a/react/features/toolbox/components/native/AudioOnlyButton.js b/react/features/toolbox/components/native/AudioOnlyButton.js index bdb14ee56..5d2207faa 100644 --- a/react/features/toolbox/components/native/AudioOnlyButton.js +++ b/react/features/toolbox/components/native/AudioOnlyButton.js @@ -39,17 +39,6 @@ class AudioOnlyButton extends AbstractButton { 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. *