Use contextBridge

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-01-14 08:35:04 +01:00
parent b2850e11db
commit 8f91b04eb3
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export class ExistingSource extends React.Component<DesktopCapturerSourceIProps>
onClick={this.onClick} > onClick={this.onClick} >
<img <img
className="mx_desktopCapturerSourcePicker_stream_thumbnail" 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> <span className="mx_desktopCapturerSourcePicker_stream_name">{this.props.source.name}</span>
</AccessibleButton> </AccessibleButton>