mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
fix: rotate bugs in video player
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user