chore: forgot what this commit did

This commit is contained in:
Adrian Castro
2024-02-05 19:55:34 +01:00
parent 8db85c545b
commit a6a3f8042f

View File

@@ -93,7 +93,10 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
setVideoUrl(url); setVideoUrl(url);
setIsLoading(false); setIsLoading(false);
} else { } else {
router.push("/(tabs)"); await ScreenOrientation.lockAsync(
ScreenOrientation.OrientationLock.PORTRAIT_UP,
);
return router.push("/(tabs)");
} }
}; };