mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:33:26 +00:00
ios?
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import type { TouchableOpacity } from "react-native";
|
import type { TouchableOpacity } from "react-native";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { View } from "react-native";
|
||||||
import { TouchableWithoutFeedback } from "react-native-gesture-handler";
|
import { TouchableWithoutFeedback } from "react-native-gesture-handler";
|
||||||
|
|
||||||
import { usePlayerStore } from "~/stores/player/store";
|
import { usePlayerStore } from "~/stores/player/store";
|
||||||
@@ -17,7 +18,7 @@ export const Controls = ({ children, className }: ControlsProps) => {
|
|||||||
className={className}
|
className={className}
|
||||||
onPress={() => setIsIdle(false)}
|
onPress={() => setIsIdle(false)}
|
||||||
>
|
>
|
||||||
{!idle && children}
|
<View>{!idle && children}</View>
|
||||||
</TouchableWithoutFeedback>
|
</TouchableWithoutFeedback>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user