mirror of https://github.com/vector-im/riot-web
Rename to toast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
ddd4b4bc12
commit
9891eddcbd
|
@ -747,7 +747,7 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
mx_CallView_video: true,
|
mx_CallView_video: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
let presenting;
|
let toast;
|
||||||
if (someoneIsScreensharing) {
|
if (someoneIsScreensharing) {
|
||||||
const presentingClasses = classNames({
|
const presentingClasses = classNames({
|
||||||
mx_CallView_presenting: true,
|
mx_CallView_presenting: true,
|
||||||
|
@ -763,7 +763,7 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
: _t("Your camera is still enabled"));
|
: _t("Your camera is still enabled"));
|
||||||
}
|
}
|
||||||
|
|
||||||
presenting = (
|
toast = (
|
||||||
<div className={presentingClasses}>
|
<div className={presentingClasses}>
|
||||||
{ text }
|
{ text }
|
||||||
</div>
|
</div>
|
||||||
|
@ -776,7 +776,7 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
ref={this.contentRef}
|
ref={this.contentRef}
|
||||||
onMouseMove={this.onMouseMove}
|
onMouseMove={this.onMouseMove}
|
||||||
>
|
>
|
||||||
{ presenting }
|
{ toast }
|
||||||
{ sidebar }
|
{ sidebar }
|
||||||
<VideoFeed
|
<VideoFeed
|
||||||
feed={this.state.primaryFeed}
|
feed={this.state.primaryFeed}
|
||||||
|
|
Loading…
Reference in New Issue