Skip to content

Commit

Permalink
updated DFI to DVM
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackninja864 committed Aug 3, 2023
1 parent 34005db commit ca69d1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mobile-app/app/components/DomainSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ export function DomainSwitch({ testID }: { testID: string }): JSX.Element {
</View>

<Text
style={tailwind("mr-2 text-xs", {
style={tailwind("mr-1 text-xs", {
"text-white": isLight,
"text-black": !isLight,
})}
testID={`${testID}_DFI`}
testID={`${testID}_DVM`}
>
DFI
DVM
</Text>
</View>
</View>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export function PortfolioScreen({ navigation }: Props): JSX.Element {
light={tailwind("text-mono-light-v2-700")}
testID="bottomsheet-address-header"
>
{domain}
{domain === DomainType.EVM ? "EVM" : "DVM"}
</ThemedTextV2>
<ThemedTextV2
style={tailwind("text-xs font-normal-v2")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ context("Wallet - Addresses", () => {
cy.getByTestID("active_address")
.invoke("css", "text-overflow")
.should("eq", "ellipsis");
cy.getByTestID("bottomsheet-address-header").contains("DFI");
cy.getByTestID("bottomsheet-address-header").contains("DVM");
cy.getByTestID("active_address").click();
cy.getByTestID("wallet_toast").should("exist");
});
Expand Down Expand Up @@ -80,7 +80,7 @@ context("Wallet - Addresses", () => {
.invoke("text")
.then((evmAddress: string) => {
cy.getByTestID("bottom_tab_portfolio").click();
cy.getByTestID("domain_switch_DFI").should("exist");
cy.getByTestID("domain_switch_DVM").should("exist");
cy.getByTestID("domain_switch").click();
cy.getByTestID("domain_switch_EVM").should("exist");
cy.getByTestID("switch_account_button").click();
Expand Down

0 comments on commit ca69d1a

Please sign in to comment.