Skip to content

Commit 3d9b13d

Browse files
Update src/adapters/ExpoVideoAdapter.tsx
Co-authored-by: kalifyaniv-cloudinary <[email protected]>
1 parent 750060d commit 3d9b13d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/adapters/ExpoVideoAdapter.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,7 @@ export class ExpoVideoAdapter implements VideoPlayerAdapter {
339339
}
340340
},
341341
onLoadStart: (data: any) => {
342-
if (props.onLoadStart) {
343-
props.onLoadStart(data);
344-
}
342+
props.onLoadStart?.(data);
345343
},
346344
});
347345
}

0 commit comments

Comments
 (0)