diff --git a/src/components/home/ContinueWatchingSection.tsx b/src/components/home/ContinueWatchingSection.tsx index 95236cdb..5db6d711 100644 --- a/src/components/home/ContinueWatchingSection.tsx +++ b/src/components/home/ContinueWatchingSection.tsx @@ -35,6 +35,7 @@ interface ContinueWatchingItem extends StreamingContent { season?: number; episode?: number; episodeTitle?: string; + addonId?: string; } // Define the ref interface @@ -997,12 +998,14 @@ const ContinueWatchingSection = React.forwardRef((props, re id: item.id, type: item.type, episodeId: episodeId + addonId: item.addonId }); } else { // For movies or series without specific episode, navigate to main content navigation.navigate('Streams', { id: item.id, type: item.type + addonId: item.addonId }); } } catch (error) { @@ -1505,4 +1508,4 @@ const styles = StyleSheet.create({ export default React.memo(ContinueWatchingSection, (prevProps, nextProps) => { // This component has no props that would cause re-renders return true; -}); \ No newline at end of file +});