diff --git a/react-native-toast-message b/react-native-toast-message new file mode 160000 index 00000000..e2db539b --- /dev/null +++ b/react-native-toast-message @@ -0,0 +1 @@ +Subproject commit e2db539be40ab3caeef8de3725d5017474f71679 diff --git a/src/screens/DownloadsScreen.tsx b/src/screens/DownloadsScreen.tsx index 7d5fe926..953dfbb0 100644 --- a/src/screens/DownloadsScreen.tsx +++ b/src/screens/DownloadsScreen.tsx @@ -58,7 +58,7 @@ const optimizePosterUrl = (poster: string | undefined | null): string => { // Download items come from DownloadsContext // Empty state component -const EmptyDownloadsState: React.FC = () => { +const EmptyDownloadsState: React.FC<{ navigation: NavigationProp }> = ({ navigation }) => { const { currentTheme } = useTheme(); return ( @@ -79,7 +79,7 @@ const EmptyDownloadsState: React.FC = () => { { - // Navigate to search or home to find content + navigation.navigate('Search'); }} > @@ -567,7 +567,7 @@ const DownloadsScreen: React.FC = () => { {/* Content */} {downloads.length === 0 ? ( - + ) : ( { isTablet={isTablet} /> ( diff --git a/toastify-react-native b/toastify-react-native new file mode 160000 index 00000000..17a44eb5 --- /dev/null +++ b/toastify-react-native @@ -0,0 +1 @@ +Subproject commit 17a44eb5d18612611cc9b0eca269101ddbf0311b