mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Fix for video stories not playing
This commit is contained in:
@@ -265,6 +265,10 @@ export const StoryViewer = ({
|
||||
// We need to be careful about this effect refreshing, it should only run
|
||||
// every time a story changes or its duration changes.
|
||||
useEffect(() => {
|
||||
if (!storyDuration) {
|
||||
return;
|
||||
}
|
||||
|
||||
strictAssert(
|
||||
progressBarRef.current != null,
|
||||
"progressBarRef can't be null"
|
||||
|
||||
Reference in New Issue
Block a user