1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Update thumbnails

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-01-14 12:44:48 +01:00
parent 8f91b04eb3
commit eca8ef3b35
2 changed files with 22 additions and 8 deletions

View File

@@ -513,8 +513,8 @@ export default class CallHandler {
call.placeScreenSharingCall(
remoteElement,
localElement,
async (sources: Array<DesktopCapturerSource>) : Promise<DesktopCapturerSource> => {
const {finished} = Modal.createDialog(DesktopCapturerSourcePicker, {sources});
async () : Promise<DesktopCapturerSource> => {
const {finished} = Modal.createDialog(DesktopCapturerSourcePicker);
const [source] = await finished;
return source;
});