fix: rotate bugs in video player

This commit is contained in:
Fredrik Burmester
2025-03-08 10:33:14 +01:00
parent 7cdf0e5355
commit 96e3362f43

View File

@@ -279,7 +279,9 @@ function Layout() {
useEffect(() => {
if (Platform.isTV) return;
if ("direct-player" in segments) return;
if (segments.includes("direct-player" as never)) {
return;
}
// If the user has auto rotate enabled, unlock the orientation
if (settings.followDeviceOrientation === true) {