fix: add safe areas back to controls

This commit is contained in:
Fredrik Burmester
2024-12-21 13:18:56 +01:00
parent ba4a2c0b79
commit 51f17f983d
3 changed files with 117 additions and 113 deletions

View File

@@ -43,6 +43,7 @@ import {
View,
AppState,
AppStateStatus,
Platform,
} from "react-native";
import { useSharedValue } from "react-native-reanimated";
import settings from "../(tabs)/(home)/settings";
@@ -448,7 +449,7 @@ export default function page() {
position: "relative",
flexDirection: "column",
justifyContent: "center",
opacity: showControls ? 0.5 : 1,
opacity: showControls ? (Platform.OS === "android" ? 0.7 : 0.5) : 1,
}}
>
<VlcPlayerView