mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-21 00:32:04 +00:00
modify onpress handler to pass addonId
This commit is contained in:
parent
8c449215a6
commit
42d4290acd
1 changed files with 5 additions and 1 deletions
|
|
@ -906,7 +906,11 @@ const SearchScreen = () => {
|
||||||
isGrid && styles.discoverGridItem
|
isGrid && styles.discoverGridItem
|
||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
navigation.navigate('Metadata', { id: item.id, type: item.type });
|
navigation.navigate('Metadata', {
|
||||||
|
id: item.id,
|
||||||
|
type: item.type,
|
||||||
|
addonId: item.addonId
|
||||||
|
});
|
||||||
}}
|
}}
|
||||||
onLongPress={() => {
|
onLongPress={() => {
|
||||||
setSelectedItem(item);
|
setSelectedItem(item);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue