recording: remove beta label from LiveStreamButton
This commit is contained in:
parent
0b25e62c5c
commit
4134d47f6e
|
@ -1,11 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
import { translate } from '../../../../base/i18n';
|
import { translate } from '../../../../base/i18n';
|
||||||
import { IconLiveStreaming } from '../../../../base/icons';
|
import { IconLiveStreaming } from '../../../../base/icons';
|
||||||
import { connect } from '../../../../base/redux';
|
import { connect } from '../../../../base/redux';
|
||||||
import { BetaTag } from '../../../../base/toolbox';
|
|
||||||
|
|
||||||
import AbstractLiveStreamButton, {
|
import AbstractLiveStreamButton, {
|
||||||
_mapStateToProps as _abstractMapStateToProps,
|
_mapStateToProps as _abstractMapStateToProps,
|
||||||
|
@ -37,18 +34,6 @@ type Props = AbstractProps & {
|
||||||
class LiveStreamButton extends AbstractLiveStreamButton<Props> {
|
class LiveStreamButton extends AbstractLiveStreamButton<Props> {
|
||||||
icon = IconLiveStreaming;
|
icon = IconLiveStreaming;
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper function to be implemented by subclasses, which returns
|
|
||||||
* a React Element to display (a beta tag) at the end of the button.
|
|
||||||
*
|
|
||||||
* @override
|
|
||||||
* @protected
|
|
||||||
* @returns {ReactElement}
|
|
||||||
*/
|
|
||||||
_getElementAfter() {
|
|
||||||
return <BetaTag />;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the tooltip that should be displayed when the button is disabled.
|
* Returns the tooltip that should be displayed when the button is disabled.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue