Skip to content

Commit

Permalink
Merge pull request #47119 from Expensify/vit-45021
Browse files Browse the repository at this point in the history
Remove the note of cards from the settings menu to only leave domains
  • Loading branch information
srikarparsi authored Aug 9, 2024
2 parents 31c301e + 6e64eec commit 5ded54e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion assets/images/cards-and-domains.svg

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/Icon/Expensicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import Calendar from '@assets/images/calendar.svg';
import Camera from '@assets/images/camera.svg';
import CarWithKey from '@assets/images/car-with-key.svg';
import Car from '@assets/images/car.svg';
import CardsAndDomains from '@assets/images/cards-and-domains.svg';
import Cash from '@assets/images/cash.svg';
import Chair from '@assets/images/chair.svg';
import ChatBubbleAdd from '@assets/images/chatbubble-add.svg';
Expand Down Expand Up @@ -220,7 +219,6 @@ export {
Calendar,
Camera,
Car,
CardsAndDomains,
Cash,
ChatBubble,
ChatBubbles,
Expand Down
2 changes: 1 addition & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export default {
},
allSettingsScreen: {
subscription: 'Subscription',
cardsAndDomains: 'Cards & Domains',
domains: 'Domains',
},
tabSelector: {
chat: 'Chat',
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ export default {
},
allSettingsScreen: {
subscription: 'Suscripcion',
cardsAndDomains: 'Tarjetas y Dominios',
domains: 'Dominios',
},
tabSelector: {
chat: 'Chat',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/home/sidebar/AllSettingsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ function AllSettingsScreen({policies}: AllSettingsScreenProps) {
]
: []),
{
translationKey: 'allSettingsScreen.cardsAndDomains',
icon: Expensicons.CardsAndDomains,
translationKey: 'allSettingsScreen.domains',
icon: Expensicons.Globe,
action: () => {
Link.openOldDotLink(CONST.OLDDOT_URLS.ADMIN_DOMAINS_URL);
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/settings/InitialSettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ function InitialSettingsPage({session, userWallet, bankAccountList, fundList, wa
brickRoadIndicator: hasGlobalWorkspaceSettingsRBR(policies) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined,
},
{
translationKey: 'allSettingsScreen.cardsAndDomains',
icon: Expensicons.CardsAndDomains,
translationKey: 'allSettingsScreen.domains',
icon: Expensicons.Globe,
action: () => {
Link.openOldDotLink(CONST.OLDDOT_URLS.ADMIN_DOMAINS_URL);
},
Expand Down

0 comments on commit 5ded54e

Please sign in to comment.