refactor: replace View with Button in ViewMoreCard for consistent colors across themes

Updated ViewMoreCard to use a Button component instead of a styled View
for the 'View more' action. This improves accessibility and consistency
with other interactive elements in TrendingVideos.
This commit is contained in:
Caidan Williams
2025-08-21 13:23:53 -07:00
parent c097f68a7d
commit 8ab49da6da
@@ -219,19 +219,13 @@ function ViewMoreCard() {
<Text style={[a.text_md]}> <Text style={[a.text_md]}>
<Trans>View more</Trans> <Trans>View more</Trans>
</Text> </Text>
<View <Button
style={[ color="primary"
a.align_center, size="small"
a.justify_center, shape="round"
a.rounded_full, label={_(msg`View more trending videos`)}>
{
width: 34,
height: 34,
backgroundColor: t.palette.primary_500,
},
]}>
<ButtonIcon icon={ChevronRight} /> <ButtonIcon icon={ChevronRight} />
</View> </Button>
</View> </View>
)} )}
</Link> </Link>