mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
fix: context menu long press on android
This commit is contained in:
@@ -38,7 +38,12 @@ export default function Item({ data }: { data: ItemData }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<TouchableOpacity onPress={handlePress} style={{ width: "100%" }}>
|
||||
<TouchableOpacity
|
||||
onPress={handlePress}
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
onLongPress={() => {}}
|
||||
style={{ width: "100%" }}
|
||||
>
|
||||
<View className="w-full">
|
||||
<ContextMenu actions={contextMenuActions} onPress={onContextMenuPress}>
|
||||
<View className="mb-2 aspect-[9/14] w-full overflow-hidden rounded-2xl">
|
||||
|
Reference in New Issue
Block a user