mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
LightBox: tslint exception for play() call which returns promise
This commit is contained in:
@@ -185,6 +185,7 @@ export class Lightbox extends React.Component<Props> {
|
||||
}
|
||||
|
||||
if (this.videoRef.paused) {
|
||||
// tslint:disable-next-line no-floating-promises
|
||||
this.videoRef.play();
|
||||
} else {
|
||||
this.videoRef.pause();
|
||||
|
||||
Reference in New Issue
Block a user