Browse Source

Removes unnecessary source code

j8
Lyubo Marinov 7 years ago
parent
commit
7fe421aeba

+ 0
- 11
react/features/always-on-top/HangupButton.js View File

@@ -20,15 +20,4 @@ export default class HangupButton extends AbstractHangupButton<Props, *> {
20 20
         api.executeCommand('hangup');
21 21
         window.close();
22 22
     }
23
-
24
-    /**
25
-     * Indicates whether this button is disabled or not.
26
-     *
27
-     * @override
28
-     * @private
29
-     * @returns {boolean}
30
-     */
31
-    _isDisabled() {
32
-        return false;
33
-    }
34 23
 }

+ 0
- 11
react/features/invite/components/InviteButton.native.js View File

@@ -75,17 +75,6 @@ class InviteButton extends AbstractButton<Props, *> {
75 75
         }
76 76
     }
77 77
 
78
-    /**
79
-     * Indicates whether this button is disabled or not.
80
-     *
81
-     * @override
82
-     * @private
83
-     * @returns {boolean}
84
-     */
85
-    _isDisabled() {
86
-        return false;
87
-    }
88
-
89 78
     /**
90 79
      * Implements React's {@link Component#render()}.
91 80
      *

+ 0
- 11
react/features/mobile/audio-mode/components/AudioRouteButton.js View File

@@ -86,17 +86,6 @@ class AudioRouteButton extends AbstractButton<Props, *> {
86 86
         }
87 87
     }
88 88
 
89
-    /**
90
-     * Indicates whether this button is disabled or not.
91
-     *
92
-     * @override
93
-     * @private
94
-     * @returns {boolean}
95
-     */
96
-    _isDisabled() {
97
-        return false;
98
-    }
99
-
100 89
     _setVolumeComponent: (?Object) => void;
101 90
 
102 91
     /**

+ 0
- 11
react/features/mobile/picture-in-picture/components/PictureInPictureButton.js View File

@@ -40,17 +40,6 @@ class PictureInPictureButton extends AbstractButton<Props, *> {
40 40
         this.props.dispatch(enterPictureInPicture());
41 41
     }
42 42
 
43
-    /**
44
-     * Indicates whether this button is disabled or not.
45
-     *
46
-     * @override
47
-     * @private
48
-     * @returns {boolean}
49
-     */
50
-    _isDisabled() {
51
-        return false;
52
-    }
53
-
54 43
     /**
55 44
      * Implements React's {@link Component#render()}.
56 45
      *

+ 0
- 11
react/features/settings/components/web/SettingsButton.js View File

@@ -55,17 +55,6 @@ class SettingsButton extends AbstractButton<Props, *> {
55 55
             dispatch(toggleSettings());
56 56
         }
57 57
     }
58
-
59
-    /**
60
-     * Indicates whether this button is disabled or not.
61
-     *
62
-     * @override
63
-     * @private
64
-     * @returns {boolean}
65
-     */
66
-    _isDisabled() {
67
-        return false;
68
-    }
69 58
 }
70 59
 
71 60
 /**

+ 0
- 12
react/features/toolbox/components/AudioMuteButton.js View File

@@ -35,17 +35,6 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {
35 35
     label = 'toolbar.mute';
36 36
     tooltip = 'toolbar.mute';
37 37
 
38
-    /**
39
-     * Indicates if this button should be disabled or not.
40
-     *
41
-     * @override
42
-     * @private
43
-     * @returns {boolean}
44
-     */
45
-    _isDisabled() {
46
-        return false;
47
-    }
48
-
49 38
     /**
50 39
      * Indicates if audio is currently muted ot nor.
51 40
      *
@@ -68,7 +57,6 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {
68 57
         sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));
69 58
         this.props.dispatch(setAudioMuted(audioMuted));
70 59
     }
71
-
72 60
 }
73 61
 
74 62
 /**

+ 0
- 11
react/features/toolbox/components/HangupButton.js View File

@@ -44,17 +44,6 @@ class HangupButton extends AbstractHangupButton<Props, *> {
44 44
             this.props.dispatch(disconnect(true));
45 45
         }
46 46
     }
47
-
48
-    /**
49
-     * Indicates if this button should be disabled or not.
50
-     *
51
-     * @override
52
-     * @private
53
-     * @returns {boolean}
54
-     */
55
-    _isDisabled() {
56
-        return false;
57
-    }
58 47
 }
59 48
 
60 49
 export default translate(connect()(HangupButton));

+ 0
- 1
react/features/toolbox/components/VideoMuteButton.js View File

@@ -81,7 +81,6 @@ class VideoMuteButton extends AbstractVideoMuteButton<Props, *> {
81 81
                 VIDEO_MUTISM_AUTHORITY.USER,
82 82
                 /* ensureTrack */ true));
83 83
     }
84
-
85 84
 }
86 85
 
87 86
 /**

+ 0
- 11
react/features/toolbox/components/native/AudioOnlyButton.js View File

@@ -39,17 +39,6 @@ class AudioOnlyButton extends AbstractButton<Props, *> {
39 39
         this.props.dispatch(toggleAudioOnly());
40 40
     }
41 41
 
42
-    /**
43
-     * Indicates whether this button is disabled or not.
44
-     *
45
-     * @override
46
-     * @private
47
-     * @returns {boolean}
48
-     */
49
-    _isDisabled() {
50
-        return false;
51
-    }
52
-
53 42
     /**
54 43
      * Indicates whether this button is in toggled state or not.
55 44
      *

Loading…
Cancel
Save