Rename to toast

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-21 18:28:44 +02:00
parent ddd4b4bc12
commit 9891eddcbd
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -747,7 +747,7 @@ export default class CallView extends React.Component<IProps, IState> {
mx_CallView_video: true,
});
let presenting;
let toast;
if (someoneIsScreensharing) {
const presentingClasses = classNames({
mx_CallView_presenting: true,
@ -763,7 +763,7 @@ export default class CallView extends React.Component<IProps, IState> {
: _t("Your camera is still enabled"));
}
presenting = (
toast = (
<div className={presentingClasses}>
{ text }
</div>
@ -776,7 +776,7 @@ export default class CallView extends React.Component<IProps, IState> {
ref={this.contentRef}
onMouseMove={this.onMouseMove}
>
{ presenting }
{ toast }
{ sidebar }
<VideoFeed
feed={this.state.primaryFeed}