Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/components/UI/Card/Views/CardHome/CardHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ const CardHome = () => {
if (!isBaanxLoginEnabled) {
return (
<Button
variant={ButtonVariants.Secondary}
variant={ButtonVariants.Primary}
label={strings('card.card_home.add_funds')}
size={ButtonSize.Lg}
onPress={addFundsAction}
Expand All @@ -679,7 +679,7 @@ const CardHome = () => {

return (
<Button
variant={ButtonVariants.Secondary}
variant={ButtonVariants.Primary}
label={strings('card.card_home.enable_card_button_label')}
size={ButtonSize.Lg}
onPress={openOnboardingDelegationAction}
Expand All @@ -692,7 +692,7 @@ const CardHome = () => {
return (
<Box twClassName="w-full gap-2 flex-row justify-between items-center">
<Button
variant={ButtonVariants.Secondary}
variant={ButtonVariants.Primary}
style={tw.style(
'w-1/2',
!isSwapEnabledForPriorityToken && 'opacity-50',
Expand All @@ -705,7 +705,7 @@ const CardHome = () => {
testID={CardHomeSelectors.ADD_FUNDS_BUTTON}
/>
<Button
variant={ButtonVariants.Secondary}
variant={ButtonVariants.Primary}
style={tw.style('w-1/2')}
label={strings('card.card_home.change_asset')}
size={ButtonSize.Lg}
Expand Down Expand Up @@ -889,7 +889,7 @@ const CardHome = () => {
{retries < 3 && !isAuthenticationError(cardError) && (
<Box twClassName="pt-2">
<Button
variant={ButtonVariants.Secondary}
variant={ButtonVariants.Primary}
label={strings('card.card_home.try_again')}
size={ButtonSize.Md}
onPress={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -956,10 +956,8 @@ exports[`CardHome Component renders correctly and matches snapshot 1`] = `
{
"alignItems": "center",
"alignSelf": "stretch",
"backgroundColor": "#3c4d9d0f",
"borderColor": "transparent",
"backgroundColor": "#121314",
"borderRadius": 12,
"borderWidth": 1,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
Expand All @@ -974,7 +972,7 @@ exports[`CardHome Component renders correctly and matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#ffffff",
"fontFamily": "Geist-Medium",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -996,10 +994,8 @@ exports[`CardHome Component renders correctly and matches snapshot 1`] = `
{
"alignItems": "center",
"alignSelf": "stretch",
"backgroundColor": "#3c4d9d0f",
"borderColor": "transparent",
"backgroundColor": "#121314",
"borderRadius": 12,
"borderWidth": 1,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
Expand All @@ -1014,7 +1010,7 @@ exports[`CardHome Component renders correctly and matches snapshot 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#ffffff",
"fontFamily": "Geist-Medium",
"fontSize": 16,
"letterSpacing": 0,
Expand Down Expand Up @@ -2301,10 +2297,8 @@ exports[`CardHome Component renders correctly with privacy mode enabled 1`] = `
{
"alignItems": "center",
"alignSelf": "stretch",
"backgroundColor": "#3c4d9d0f",
"borderColor": "transparent",
"backgroundColor": "#121314",
"borderRadius": 12,
"borderWidth": 1,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
Expand All @@ -2319,7 +2313,7 @@ exports[`CardHome Component renders correctly with privacy mode enabled 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#ffffff",
"fontFamily": "Geist-Medium",
"fontSize": 16,
"letterSpacing": 0,
Expand All @@ -2341,10 +2335,8 @@ exports[`CardHome Component renders correctly with privacy mode enabled 1`] = `
{
"alignItems": "center",
"alignSelf": "stretch",
"backgroundColor": "#3c4d9d0f",
"borderColor": "transparent",
"backgroundColor": "#121314",
"borderRadius": 12,
"borderWidth": 1,
"flexDirection": "row",
"height": 48,
"justifyContent": "center",
Expand All @@ -2359,7 +2351,7 @@ exports[`CardHome Component renders correctly with privacy mode enabled 1`] = `
accessibilityRole="text"
style={
{
"color": "#121314",
"color": "#ffffff",
"fontFamily": "Geist-Medium",
"fontSize": 16,
"letterSpacing": 0,
Expand Down
Loading