diff --git a/app/(auth)/player/_layout.tsx b/app/(auth)/player/_layout.tsx index 0eefb300..c06c05a2 100644 --- a/app/(auth)/player/_layout.tsx +++ b/app/(auth)/player/_layout.tsx @@ -21,12 +21,10 @@ export default function Layout() { if (settings.autoRotate === true) { ScreenOrientation.unlockAsync(); } else { - ScreenOrientation.lockAsync( - ScreenOrientation.OrientationLock.PORTRAIT_UP - ); + ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.PORTRAIT_UP); } }; - }, [settings]); + }, [settings.defaultVideoOrientation, settings.autoRotate]); return ( <>