mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +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
|
||||
]}
|
||||
onPress={() => {
|
||||
navigation.navigate('Metadata', { id: item.id, type: item.type });
|
||||
navigation.navigate('Metadata', {
|
||||
id: item.id,
|
||||
type: item.type,
|
||||
addonId: item.addonId
|
||||
});
|
||||
}}
|
||||
onLongPress={() => {
|
||||
setSelectedItem(item);
|
||||
|
|
|
|||
Loading…
Reference in a new issue