fix: control overlay on iOS

This commit is contained in:
Adrian Castro
2024-02-14 21:49:51 +01:00
parent 52e90c6039
commit 6ebdb6820a

View File

@@ -18,12 +18,12 @@ export const ControlsOverlay = ({ headerData }: ControlsOverlayProps) => {
setIsIdle(!idle);
};
return (
<TouchableWithoutFeedback onPress={handleTouch}>
<View className="absolute left-0 top-0 flex h-full w-full flex-1">
<Header data={headerData} />
<TouchableWithoutFeedback onPress={handleTouch}>
<MiddleControls />
</TouchableWithoutFeedback>
<BottomControls />
</View>
</TouchableWithoutFeedback>
);
};