mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Added a comment about updating thumbnails
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
28ff4e6955
commit
022781e9bc
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user