Skip to content

Commit

Permalink
fix(πŸ›): fix black screen when pausing on Android (#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon committed Jun 28, 2024
1 parent 34fa5c5 commit cda67f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package/src/external/reanimated/useVideo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const setFrame = (video: Video, currentFrame: SharedValue<SkImage | null>) => {
currentFrame.value.dispose();
}
currentFrame.value = img;
} else {
copyFrameOnAndroid(currentFrame);
}
};
Expand Down Expand Up @@ -99,7 +98,6 @@ export const useVideo = (
() => seek.value,
(value) => {
if (value !== null) {
copyFrameOnAndroid(currentFrame);
video?.seek(value);
currentTime.value = value;
seek.value = null;
Expand Down

0 comments on commit cda67f3

Please sign in to comment.