ui changes

This commit is contained in:
tapframe 2025-10-14 02:52:07 +05:30
parent 1a9d59e804
commit 92441110bf
4 changed files with 6 additions and 4 deletions

@ -0,0 +1 @@
Subproject commit e2db539be40ab3caeef8de3725d5017474f71679

View file

@ -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<RootStackParamList> }> = ({ navigation }) => {
const { currentTheme } = useTheme();
return (
@ -79,7 +79,7 @@ const EmptyDownloadsState: React.FC = () => {
<TouchableOpacity
style={[styles.exploreButton, { backgroundColor: currentTheme.colors.primary }]}
onPress={() => {
// Navigate to search or home to find content
navigation.navigate('Search');
}}
>
<Text style={[styles.exploreButtonText, { color: currentTheme.colors.background }]}>
@ -567,7 +567,7 @@ const DownloadsScreen: React.FC = () => {
{/* Content */}
{downloads.length === 0 ? (
<EmptyDownloadsState />
<EmptyDownloadsState navigation={navigation} />
) : (
<FlatList
data={filteredDownloads}

View file

@ -581,7 +581,7 @@ const SettingsScreen: React.FC = () => {
isTablet={isTablet}
/>
<SettingItem
title="Enable Downloads"
title="Enable Downloads (Beta)"
description="Show Downloads tab and enable saving streams"
icon="download"
renderControl={() => (

1
toastify-react-native Submodule

@ -0,0 +1 @@
Subproject commit 17a44eb5d18612611cc9b0eca269101ddbf0311b