mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-19 18:54:16 +01:00
fix: rotate bugs in video player
This commit is contained in:
@@ -279,7 +279,9 @@ function Layout() {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (Platform.isTV) return;
|
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 the user has auto rotate enabled, unlock the orientation
|
||||||
if (settings.followDeviceOrientation === true) {
|
if (settings.followDeviceOrientation === true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user