mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 11:57:48 +00:00
feat: Adds ts rule noImplicitOverride and fix errors.
This commit is contained in:
@@ -21,10 +21,10 @@ interface IProps extends AbstractButtonProps {
|
||||
* An implementation of a button for toggling the self view.
|
||||
*/
|
||||
class ToggleSelfViewButton extends AbstractButton<IProps> {
|
||||
accessibilityLabel = 'toolbar.accessibilityLabel.selfView';
|
||||
icon = IconAudioOnlyOff;
|
||||
label = 'videothumbnail.hideSelfView';
|
||||
toggledLabel = 'videothumbnail.showSelfView';
|
||||
override accessibilityLabel = 'toolbar.accessibilityLabel.selfView';
|
||||
override icon = IconAudioOnlyOff;
|
||||
override label = 'videothumbnail.hideSelfView';
|
||||
override toggledLabel = 'videothumbnail.showSelfView';
|
||||
|
||||
/**
|
||||
* Handles clicking / pressing the button.
|
||||
@@ -33,7 +33,7 @@ class ToggleSelfViewButton extends AbstractButton<IProps> {
|
||||
* @protected
|
||||
* @returns {void}
|
||||
*/
|
||||
_handleClick() {
|
||||
override _handleClick() {
|
||||
const { _disableSelfView, dispatch } = this.props;
|
||||
|
||||
dispatch(updateSettings({
|
||||
@@ -48,7 +48,7 @@ class ToggleSelfViewButton extends AbstractButton<IProps> {
|
||||
* @protected
|
||||
* @returns {boolean}
|
||||
*/
|
||||
_isToggled() {
|
||||
override _isToggled() {
|
||||
return this.props._disableSelfView;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user