fix: Expand Discover Row Ripple

This commit is contained in:
Rajarshee Chatterjee
2026-07-25 20:34:30 +05:30
parent eac6ad584e
commit 89cddf9e3d
+12 -11
View File
@@ -26,29 +26,30 @@ const DiscoverCard: React.FC<Props> = ({
onPress,
}) => {
return (
<View style={styles.container}>
<Pressable
accessibilityLabel={`${getString('browse')} ${trackerName}`}
accessibilityRole="button"
style={[styles.flexRow, styles.mainAction]}
onPress={onPress}
android_ripple={{ color: theme.rippleColor }}
>
<Pressable
accessibilityLabel={`${getString('browse')} ${trackerName}`}
accessibilityRole="button"
style={styles.container}
onPress={onPress}
android_ripple={{ color: theme.rippleColor }}
>
<View style={[styles.flexRow, styles.mainAction]}>
<Image source={icon} style={styles.icon} />
<View style={styles.details}>
<Text style={[styles.name, { color: theme.onSurface }]}>
{trackerName}
</Text>
</View>
</Pressable>
</View>
<View style={styles.flexRow}>
<Button
accessible={false}
pointerEvents="none"
title={getString('browse')}
textColor={theme.primary}
onPress={onPress}
/>
</View>
</View>
</Pressable>
);
};