Use contextBridge

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-01-14 08:35:04 +01:00
parent b2850e11db
commit 8f91b04eb3

View File

@@ -46,7 +46,7 @@ export class ExistingSource extends React.Component<DesktopCapturerSourceIProps>
onClick={this.onClick} >
<img
className="mx_desktopCapturerSourcePicker_stream_thumbnail"
src={this.props.source.thumbnail.toDataURL()}
src={this.props.source.thumbnailURL}
/>
<span className="mx_desktopCapturerSourcePicker_stream_name">{this.props.source.name}</span>
</AccessibleButton>