mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +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) => {
|
||||
const idle = usePlayerStore((state) => state.interface.isIdle);
|
||||
|
||||
return <View>{!idle && children}</View>;
|
||||
};
|
||||
|
Reference in New Issue
Block a user