Added a comment about updating thumbnails

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-01 16:03:20 +01:00
parent 28ff4e6955
commit 022781e9bc
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ export default class DesktopCapturerSourcePicker extends React.Component<
}
componentDidMount() {
// We update the sources every 500ms to get newer thumbnails
this.interval = setInterval(async () => {
this.setState({
sources: await getDesktopCapturerSources(),