mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
first-pass context menu for albums
This commit is contained in:
@@ -43,6 +43,12 @@ const PressableOpacity: React.FC<PressableOpacityProps> = props => {
|
||||
if (!props.disabled) {
|
||||
setOpacity(1)
|
||||
}
|
||||
}}
|
||||
onLongPress={data => {
|
||||
if (!props.disabled) {
|
||||
setOpacity(1)
|
||||
props.onLongPress ? props.onLongPress(data) : null
|
||||
}
|
||||
}}>
|
||||
{props.children}
|
||||
</Pressable>
|
||||
|
||||
Reference in New Issue
Block a user