mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:23:24 +00:00
chore: cleanup
This commit is contained in:
@@ -10,6 +10,5 @@ interface ControlsProps extends React.ComponentProps<typeof TouchableOpacity> {
|
|||||||
|
|
||||||
export const Controls = ({ children }: ControlsProps) => {
|
export const Controls = ({ children }: ControlsProps) => {
|
||||||
const idle = usePlayerStore((state) => state.interface.isIdle);
|
const idle = usePlayerStore((state) => state.interface.isIdle);
|
||||||
|
|
||||||
return <View>{!idle && children}</View>;
|
return <View>{!idle && children}</View>;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user