Add dialog with info about the screensharing change

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-05-10 12:37:40 +02:00
parent 2749715050
commit 135cdb2255
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 8 additions and 2 deletions

View file

@ -34,6 +34,7 @@ import RoomName from "../elements/RoomName";
import {PlaceCallType} from "../../../CallHandler";
import {replaceableComponent} from "../../../utils/replaceableComponent";
import Modal from '../../../Modal';
import InfoDialog from "../dialogs/InfoDialog";
@replaceableComponent("views.rooms.RoomHeader")
export default class RoomHeader extends React.Component {
@ -120,7 +121,11 @@ export default class RoomHeader extends React.Component {
}
_displayInfoDialogAboutScreensharing() {
Modal.createDialog(InfoDialog, {
title: _t("Screensharing has changed"),
description: _t("You don't have to shift-click anymore! You can now share " +
"your screen in any video call and in voice calls if other side supports it."),
});
}
render() {