From 5190de10c79b78ab80f3473e7458de7f8dc5cced Mon Sep 17 00:00:00 2001 From: Brian Nguyen Date: Wed, 18 Dec 2024 09:10:07 -0800 Subject: [PATCH 1/5] Updated navbar title to remove green dot --- app/components/UI/NavbarTitle/index.js | 60 +++++++------------------- 1 file changed, 15 insertions(+), 45 deletions(-) diff --git a/app/components/UI/NavbarTitle/index.js b/app/components/UI/NavbarTitle/index.js index 87ba198e044..a1cd1ed142d 100644 --- a/app/components/UI/NavbarTitle/index.js +++ b/app/components/UI/NavbarTitle/index.js @@ -6,7 +6,6 @@ import { TouchableOpacity, View, StyleSheet } from 'react-native'; import { fontStyles, colors as importedColors } from '../../../styles/common'; import Networks, { getDecimalChainId } from '../../../util/networks'; import { strings } from '../../../../locales/i18n'; -import Device from '../../../util/device'; import { ThemeContext, mockTheme } from '../../../util/theme'; import Routes from '../../../constants/navigation/Routes'; import { MetaMetricsEvents } from '../../../core/Analytics'; @@ -15,6 +14,7 @@ import { selectProviderConfig } from '../../../selectors/networkController'; import { withMetricsAwareness } from '../../../components/hooks/useMetrics'; import Text, { TextVariant, + TextColor, } from '../../../component-library/components/Texts/Text'; const createStyles = (colors) => @@ -22,37 +22,10 @@ const createStyles = (colors) => wrapper: { justifyContent: 'center', alignItems: 'center', - flex: 1, }, network: { flexDirection: 'row', - }, - networkName: { - fontSize: 11, - color: colors.text.alternative, - ...fontStyles.normal, - }, - networkIcon: { - width: 5, - height: 5, - borderRadius: 100, - marginRight: 5, - marginTop: Device.isIos() ? 4 : 5, - }, - title: { - fontSize: scale(14), - ...fontStyles.normal, - color: colors.text.default, - }, - children: { - ...fontStyles.normal, - color: colors.text.default, - fontWeight: 'bold', - }, - otherNetworkIcon: { - backgroundColor: importedColors.transparent, - borderColor: colors.border.default, - borderWidth: 1, + alignItems: 'center', }, }); @@ -112,10 +85,12 @@ class NavbarTitle extends PureComponent { }); this.props.metrics.trackEvent( - MetaMetricsEvents.NETWORK_SELECTOR_PRESSED, - { - chain_id: getDecimalChainId(this.props.providerConfig.chainId), - }, + this.props.metrics + .createEventBuilder(MetaMetricsEvents.NETWORK_SELECTOR_PRESSED) + .addProperties({ + chain_id: getDecimalChainId(this.props.providerConfig.chainId), + }) + .build(), ); setTimeout(() => { this.animating = false; @@ -143,7 +118,6 @@ class NavbarTitle extends PureComponent { } const realTitle = translate ? strings(title) : title; - return ( {title ? ( - + {realTitle} ) : null} {typeof children === 'string' ? ( - - {strings(children)} - + {strings(children)} ) : ( children )} {showSelectedNetwork ? ( - - + {name} From 9a45157ed3ad6ff6bf0521f810b69522ff13523c Mon Sep 17 00:00:00 2001 From: Brian Nguyen Date: Wed, 18 Dec 2024 11:05:08 -0800 Subject: [PATCH 2/5] Updated header style in receive flow --- app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx | 11 +++++++++++ app/components/Views/QRTabSwitcher/styles.ts | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx b/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx index a6dbaf70ab3..41f5fd2e3ed 100644 --- a/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx +++ b/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx @@ -13,6 +13,7 @@ import ButtonIcon, { ButtonIconSizes, } from '../../../component-library/components/Buttons/ButtonIcon'; import { IconName } from '../../../component-library/components/Icons/Icon'; +import HeaderBase from '../../../component-library/components/HeaderBase'; export enum QRTabSwitcherScreens { Scanner, @@ -118,6 +119,16 @@ const QRTabSwitcher = () => { ) : null} + + } + /> {selectedIndex === QRTabSwitcherScreens.Receive ? ( { justifyContent: 'flex-start', }, overlay: { - flexDirection: 'row', - justifyContent: 'flex-end', position: 'absolute', width: '100%', top: navbarTop, From c493690a55c76d54d4d14454e3162289bcd6d01f Mon Sep 17 00:00:00 2001 From: Brian Nguyen Date: Wed, 18 Dec 2024 13:32:48 -0800 Subject: [PATCH 3/5] Removed duplicated logic from QR Tab Switcher --- .../Views/QRTabSwitcher/QRTabSwitcher.tsx | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx b/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx index 41f5fd2e3ed..f73ce585067 100644 --- a/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx +++ b/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx @@ -128,23 +128,18 @@ const QRTabSwitcher = () => { onPress={goBack} /> } - /> - {selectedIndex === QRTabSwitcherScreens.Receive ? ( - - ) : null} - + > + {selectedIndex === QRTabSwitcherScreens.Receive ? ( + + ) : null} + {disableTabber ? null : ( From 4ac504f2333eb6be5ca04c6b9799f5857edf2943 Mon Sep 17 00:00:00 2001 From: Brian Nguyen Date: Wed, 18 Dec 2024 14:06:05 -0800 Subject: [PATCH 4/5] Fixing qr tab switching style --- .../components/HeaderBase/HeaderBase.styles.ts | 1 - app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx | 1 - app/components/Views/QRTabSwitcher/styles.ts | 6 +----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/component-library/components/HeaderBase/HeaderBase.styles.ts b/app/component-library/components/HeaderBase/HeaderBase.styles.ts index 0b31674f3e2..fb481958a19 100644 --- a/app/component-library/components/HeaderBase/HeaderBase.styles.ts +++ b/app/component-library/components/HeaderBase/HeaderBase.styles.ts @@ -31,7 +31,6 @@ const styleSheet = (params: { { backgroundColor: theme.colors.background.default, flexDirection: 'row', - alignItems: 'center', } as ViewStyle, style, ) as ViewStyle, diff --git a/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx b/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx index f73ce585067..f5098597d0c 100644 --- a/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx +++ b/app/components/Views/QRTabSwitcher/QRTabSwitcher.tsx @@ -122,7 +122,6 @@ const QRTabSwitcher = () => { { position: 'absolute', width: '100%', top: navbarTop, - }, - closeIcon: { - position: 'absolute', - top: 0, - right: 15, + paddingHorizontal: 16, }, segmentedControlContainer: { position: 'absolute', From 81735b38bcdb29d8e05b99070942545dde66b73f Mon Sep 17 00:00:00 2001 From: Brian Nguyen Date: Wed, 18 Dec 2024 14:28:31 -0800 Subject: [PATCH 5/5] Updated snapshots --- .../BottomSheetHeader.test.tsx.snap | 1 - .../__snapshots__/HeaderBase.test.tsx.snap | 1 - .../__snapshots__/index.test.tsx.snap | 1 - .../NetworkVerificationInfo.test.tsx.snap | 1 - .../__snapshots__/BuildQuote.test.tsx.snap | 364 ++++-------------- .../__snapshots__/GetStarted.test.tsx.snap | 104 +---- .../NetworkSwitcher.test.tsx.snap | 235 +++-------- .../__snapshots__/OrderDetails.test.tsx.snap | 286 +++----------- .../PaymentMethods.test.tsx.snap | 260 +++---------- .../Quotes/__snapshots__/Quotes.test.tsx.snap | 184 ++------- .../__snapshots__/Regions.test.tsx.snap | 234 +++-------- .../SendTransaction.test.tsx.snap | 78 +--- .../GasImpactModal.test.tsx.snap | 1 - .../__snapshots__/MaxInputModal.test.tsx.snap | 1 - .../__snapshots__/QuotesView.test.ts.snap | 28 +- ...tPermissionsConfirmRevokeAll.test.tsx.snap | 1 - .../RpcSelectionModal.test.tsx.snap | 1 - .../Send/__snapshots__/index.test.tsx.snap | 26 +- .../Confirm/__snapshots__/index.test.tsx.snap | 26 +- 19 files changed, 350 insertions(+), 1483 deletions(-) diff --git a/app/component-library/components/BottomSheets/BottomSheetHeader/__snapshots__/BottomSheetHeader.test.tsx.snap b/app/component-library/components/BottomSheets/BottomSheetHeader/__snapshots__/BottomSheetHeader.test.tsx.snap index bda8377bdd9..03389274972 100644 --- a/app/component-library/components/BottomSheets/BottomSheetHeader/__snapshots__/BottomSheetHeader.test.tsx.snap +++ b/app/component-library/components/BottomSheets/BottomSheetHeader/__snapshots__/BottomSheetHeader.test.tsx.snap @@ -4,7 +4,6 @@ exports[`BottomSheetHeader should render snapshot correctly 1`] = ` - @@ -858,7 +842,6 @@ exports[`BuildQuote View Crypto Currency Data renders a special error page if cr style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -869,9 +852,9 @@ exports[`BuildQuote View Crypto Currency Data renders a special error page if cr style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -887,21 +870,6 @@ exports[`BuildQuote View Crypto Currency Data renders a special error page if cr } } > - @@ -1559,7 +1527,6 @@ exports[`BuildQuote View Crypto Currency Data renders an error page when there i style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1570,9 +1537,9 @@ exports[`BuildQuote View Crypto Currency Data renders an error page when there i style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1588,21 +1555,6 @@ exports[`BuildQuote View Crypto Currency Data renders an error page when there i } } > - @@ -2231,7 +2183,6 @@ exports[`BuildQuote View Crypto Currency Data renders the loading page when cryp style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -2242,9 +2193,9 @@ exports[`BuildQuote View Crypto Currency Data renders the loading page when cryp style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -2260,21 +2211,6 @@ exports[`BuildQuote View Crypto Currency Data renders the loading page when cryp } } > - @@ -3179,7 +3115,6 @@ exports[`BuildQuote View Fiat Currency Data renders an error page when there is style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -3190,9 +3125,9 @@ exports[`BuildQuote View Fiat Currency Data renders an error page when there is style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -3208,21 +3143,6 @@ exports[`BuildQuote View Fiat Currency Data renders an error page when there is } } > - @@ -3851,7 +3771,6 @@ exports[`BuildQuote View Fiat Currency Data renders the loading page when fiats style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -3862,9 +3781,9 @@ exports[`BuildQuote View Fiat Currency Data renders the loading page when fiats style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -3880,21 +3799,6 @@ exports[`BuildQuote View Fiat Currency Data renders the loading page when fiats } } > - @@ -4799,7 +4703,6 @@ exports[`BuildQuote View Payment Method Data renders an error page when there is style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -4810,9 +4713,9 @@ exports[`BuildQuote View Payment Method Data renders an error page when there is style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -4828,21 +4731,6 @@ exports[`BuildQuote View Payment Method Data renders an error page when there is } } > - @@ -5471,7 +5359,6 @@ exports[`BuildQuote View Payment Method Data renders the loading page when payme style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -5482,9 +5369,9 @@ exports[`BuildQuote View Payment Method Data renders the loading page when payme style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -5500,21 +5387,6 @@ exports[`BuildQuote View Payment Method Data renders the loading page when payme } } > - @@ -6419,7 +6291,6 @@ exports[`BuildQuote View Regions data renders an error page when there is a regi style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -6430,9 +6301,9 @@ exports[`BuildQuote View Regions data renders an error page when there is a regi style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -6448,21 +6319,6 @@ exports[`BuildQuote View Regions data renders an error page when there is a regi } } > - @@ -7091,7 +6947,6 @@ exports[`BuildQuote View Regions data renders the loading page when regions are style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -7102,9 +6957,9 @@ exports[`BuildQuote View Regions data renders the loading page when regions are style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -7120,21 +6975,6 @@ exports[`BuildQuote View Regions data renders the loading page when regions are } } > - @@ -8039,7 +7879,6 @@ exports[`BuildQuote View renders correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -8050,9 +7889,9 @@ exports[`BuildQuote View renders correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -8068,21 +7907,6 @@ exports[`BuildQuote View renders correctly 1`] = ` } } > - @@ -11094,7 +10918,6 @@ exports[`BuildQuote View renders correctly 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -11105,9 +10928,9 @@ exports[`BuildQuote View renders correctly 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -11123,21 +10946,6 @@ exports[`BuildQuote View renders correctly 2`] = ` } } > - @@ -14129,7 +13937,6 @@ exports[`BuildQuote View renders correctly when sdkError is present 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -14140,9 +13947,9 @@ exports[`BuildQuote View renders correctly when sdkError is present 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -14158,21 +13965,6 @@ exports[`BuildQuote View renders correctly when sdkError is present 1`] = ` } } > - @@ -14801,7 +14593,6 @@ exports[`BuildQuote View renders correctly when sdkError is present 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -14812,9 +14603,9 @@ exports[`BuildQuote View renders correctly when sdkError is present 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -14830,21 +14621,6 @@ exports[`BuildQuote View renders correctly when sdkError is present 2`] = ` } } > - diff --git a/app/components/UI/Ramp/Views/GetStarted/__snapshots__/GetStarted.test.tsx.snap b/app/components/UI/Ramp/Views/GetStarted/__snapshots__/GetStarted.test.tsx.snap index 747b1d55068..c19b71c5914 100644 --- a/app/components/UI/Ramp/Views/GetStarted/__snapshots__/GetStarted.test.tsx.snap +++ b/app/components/UI/Ramp/Views/GetStarted/__snapshots__/GetStarted.test.tsx.snap @@ -134,7 +134,6 @@ exports[`GetStarted renders correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -145,9 +144,9 @@ exports[`GetStarted renders correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -163,21 +162,6 @@ exports[`GetStarted renders correctly 1`] = ` } } > - @@ -807,7 +791,6 @@ exports[`GetStarted renders correctly 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -818,9 +801,9 @@ exports[`GetStarted renders correctly 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -836,21 +819,6 @@ exports[`GetStarted renders correctly 2`] = ` } } > - @@ -1480,7 +1448,6 @@ exports[`GetStarted renders correctly when getStarted is true 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1491,9 +1458,9 @@ exports[`GetStarted renders correctly when getStarted is true 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1509,21 +1476,6 @@ exports[`GetStarted renders correctly when getStarted is true 1`] = ` } } > - @@ -1923,7 +1875,6 @@ exports[`GetStarted renders correctly when sdkError is present 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1934,9 +1885,9 @@ exports[`GetStarted renders correctly when sdkError is present 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1952,21 +1903,6 @@ exports[`GetStarted renders correctly when sdkError is present 1`] = ` } } > - diff --git a/app/components/UI/Ramp/Views/NetworkSwitcher/__snapshots__/NetworkSwitcher.test.tsx.snap b/app/components/UI/Ramp/Views/NetworkSwitcher/__snapshots__/NetworkSwitcher.test.tsx.snap index a55851ee09d..90a5e588c9f 100644 --- a/app/components/UI/Ramp/Views/NetworkSwitcher/__snapshots__/NetworkSwitcher.test.tsx.snap +++ b/app/components/UI/Ramp/Views/NetworkSwitcher/__snapshots__/NetworkSwitcher.test.tsx.snap @@ -134,7 +134,6 @@ exports[`NetworkSwitcher View renders and dismisses network modal when pressing style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -145,9 +144,9 @@ exports[`NetworkSwitcher View renders and dismisses network modal when pressing style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -163,21 +162,6 @@ exports[`NetworkSwitcher View renders and dismisses network modal when pressing } } > - @@ -978,7 +962,6 @@ exports[`NetworkSwitcher View renders and dismisses network modal when pressing - @@ -3037,7 +3004,6 @@ exports[`NetworkSwitcher View renders correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -3048,9 +3014,9 @@ exports[`NetworkSwitcher View renders correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -3066,21 +3032,6 @@ exports[`NetworkSwitcher View renders correctly 1`] = ` } } > - @@ -4192,7 +4143,6 @@ exports[`NetworkSwitcher View renders correctly 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -4203,9 +4153,9 @@ exports[`NetworkSwitcher View renders correctly 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -4221,21 +4171,6 @@ exports[`NetworkSwitcher View renders correctly 2`] = ` } } > - @@ -5347,7 +5282,6 @@ exports[`NetworkSwitcher View renders correctly while loading 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -5358,9 +5292,9 @@ exports[`NetworkSwitcher View renders correctly while loading 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -5376,21 +5310,6 @@ exports[`NetworkSwitcher View renders correctly while loading 1`] = ` } } > - @@ -6690,7 +6609,6 @@ exports[`NetworkSwitcher View renders correctly while loading 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -6701,9 +6619,9 @@ exports[`NetworkSwitcher View renders correctly while loading 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -6719,21 +6637,6 @@ exports[`NetworkSwitcher View renders correctly while loading 2`] = ` } } > - @@ -8033,7 +7936,6 @@ exports[`NetworkSwitcher View renders correctly with errors 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -8044,9 +7946,9 @@ exports[`NetworkSwitcher View renders correctly with errors 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -8062,21 +7964,6 @@ exports[`NetworkSwitcher View renders correctly with errors 1`] = ` } } > - @@ -8682,7 +8569,6 @@ exports[`NetworkSwitcher View renders correctly with errors 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -8693,9 +8579,9 @@ exports[`NetworkSwitcher View renders correctly with errors 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -8711,21 +8597,6 @@ exports[`NetworkSwitcher View renders correctly with errors 2`] = ` } } > - @@ -9331,7 +9202,6 @@ exports[`NetworkSwitcher View renders correctly with no data 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -9342,9 +9212,9 @@ exports[`NetworkSwitcher View renders correctly with no data 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -9360,21 +9230,6 @@ exports[`NetworkSwitcher View renders correctly with no data 1`] = ` } } > - diff --git a/app/components/UI/Ramp/Views/OrderDetails/__snapshots__/OrderDetails.test.tsx.snap b/app/components/UI/Ramp/Views/OrderDetails/__snapshots__/OrderDetails.test.tsx.snap index 9d129bacdfa..f25e42498a0 100644 --- a/app/components/UI/Ramp/Views/OrderDetails/__snapshots__/OrderDetails.test.tsx.snap +++ b/app/components/UI/Ramp/Views/OrderDetails/__snapshots__/OrderDetails.test.tsx.snap @@ -157,7 +157,6 @@ exports[`OrderDetails renders a cancelled order 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -168,9 +167,9 @@ exports[`OrderDetails renders a cancelled order 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -186,21 +185,6 @@ exports[`OrderDetails renders a cancelled order 1`] = ` } } > - @@ -1659,7 +1643,6 @@ exports[`OrderDetails renders a completed order 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1670,9 +1653,9 @@ exports[`OrderDetails renders a completed order 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1688,21 +1671,6 @@ exports[`OrderDetails renders a completed order 1`] = ` } } > - @@ -3172,7 +3140,6 @@ exports[`OrderDetails renders a created order 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -3183,9 +3150,9 @@ exports[`OrderDetails renders a created order 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -3201,21 +3168,6 @@ exports[`OrderDetails renders a created order 1`] = ` } } > - @@ -4646,7 +4598,6 @@ exports[`OrderDetails renders a failed order 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -4657,9 +4608,9 @@ exports[`OrderDetails renders a failed order 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -4675,21 +4626,6 @@ exports[`OrderDetails renders a failed order 1`] = ` } } > - @@ -6148,7 +6084,6 @@ exports[`OrderDetails renders a pending order 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -6159,9 +6094,9 @@ exports[`OrderDetails renders a pending order 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -6177,21 +6112,6 @@ exports[`OrderDetails renders a pending order 1`] = ` } } > - @@ -7622,7 +7542,6 @@ exports[`OrderDetails renders an empty screen layout if there is no order 1`] = style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -7633,9 +7552,9 @@ exports[`OrderDetails renders an empty screen layout if there is no order 1`] = style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -7651,21 +7570,6 @@ exports[`OrderDetails renders an empty screen layout if there is no order 1`] = } } > - @@ -8065,7 +7969,6 @@ exports[`OrderDetails renders an error screen if a CREATED order cannot be polle style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -8076,9 +7979,9 @@ exports[`OrderDetails renders an error screen if a CREATED order cannot be polle style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -8094,21 +7997,6 @@ exports[`OrderDetails renders an error screen if a CREATED order cannot be polle } } > - @@ -8714,7 +8602,6 @@ exports[`OrderDetails renders non-transacted orders 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -8725,9 +8612,9 @@ exports[`OrderDetails renders non-transacted orders 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -8743,21 +8630,6 @@ exports[`OrderDetails renders non-transacted orders 1`] = ` } } > - @@ -10270,7 +10142,6 @@ exports[`OrderDetails renders the support links if the provider has them 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -10281,9 +10152,9 @@ exports[`OrderDetails renders the support links if the provider has them 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -10299,21 +10170,6 @@ exports[`OrderDetails renders the support links if the provider has them 1`] = ` } } > - @@ -11831,7 +11687,6 @@ exports[`OrderDetails renders transacted orders that do not have timeDescription style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -11842,9 +11697,9 @@ exports[`OrderDetails renders transacted orders that do not have timeDescription style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -11860,21 +11715,6 @@ exports[`OrderDetails renders transacted orders that do not have timeDescription } } > - @@ -13305,7 +13145,6 @@ exports[`OrderDetails renders transacted orders that have timeDescriptionPending style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -13316,9 +13155,9 @@ exports[`OrderDetails renders transacted orders that have timeDescriptionPending style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -13334,21 +13173,6 @@ exports[`OrderDetails renders transacted orders that have timeDescriptionPending } } > - diff --git a/app/components/UI/Ramp/Views/PaymentMethods/__snapshots__/PaymentMethods.test.tsx.snap b/app/components/UI/Ramp/Views/PaymentMethods/__snapshots__/PaymentMethods.test.tsx.snap index 8137c427852..2e25a8d696d 100644 --- a/app/components/UI/Ramp/Views/PaymentMethods/__snapshots__/PaymentMethods.test.tsx.snap +++ b/app/components/UI/Ramp/Views/PaymentMethods/__snapshots__/PaymentMethods.test.tsx.snap @@ -157,7 +157,6 @@ exports[`PaymentMethods View renders correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -168,9 +167,9 @@ exports[`PaymentMethods View renders correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -186,21 +185,6 @@ exports[`PaymentMethods View renders correctly 1`] = ` } } > - @@ -1620,7 +1604,6 @@ exports[`PaymentMethods View renders correctly for sell 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1631,9 +1614,9 @@ exports[`PaymentMethods View renders correctly for sell 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1649,21 +1632,6 @@ exports[`PaymentMethods View renders correctly for sell 1`] = ` } } > - @@ -3083,7 +3051,6 @@ exports[`PaymentMethods View renders correctly while loading 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -3094,9 +3061,9 @@ exports[`PaymentMethods View renders correctly while loading 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -3112,21 +3079,6 @@ exports[`PaymentMethods View renders correctly while loading 1`] = ` } } > - @@ -4324,7 +4276,6 @@ exports[`PaymentMethods View renders correctly with empty data 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -4335,9 +4286,9 @@ exports[`PaymentMethods View renders correctly with empty data 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -4353,21 +4304,6 @@ exports[`PaymentMethods View renders correctly with empty data 1`] = ` } } > - @@ -4998,7 +4934,6 @@ exports[`PaymentMethods View renders correctly with empty data for sell 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -5009,9 +4944,9 @@ exports[`PaymentMethods View renders correctly with empty data for sell 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -5027,21 +4962,6 @@ exports[`PaymentMethods View renders correctly with empty data for sell 1`] = ` } } > - @@ -5672,7 +5592,6 @@ exports[`PaymentMethods View renders correctly with error 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -5683,9 +5602,9 @@ exports[`PaymentMethods View renders correctly with error 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -5701,21 +5620,6 @@ exports[`PaymentMethods View renders correctly with error 1`] = ` } } > - @@ -6344,7 +6248,6 @@ exports[`PaymentMethods View renders correctly with null data 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -6355,9 +6258,9 @@ exports[`PaymentMethods View renders correctly with null data 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -6373,21 +6276,6 @@ exports[`PaymentMethods View renders correctly with null data 1`] = ` } } > - @@ -7585,7 +7473,6 @@ exports[`PaymentMethods View renders correctly with payment method with disclaim style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -7596,9 +7483,9 @@ exports[`PaymentMethods View renders correctly with payment method with disclaim style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -7614,21 +7501,6 @@ exports[`PaymentMethods View renders correctly with payment method with disclaim } } > - @@ -9106,7 +8978,6 @@ exports[`PaymentMethods View renders correctly with sdkError 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -9117,9 +8988,9 @@ exports[`PaymentMethods View renders correctly with sdkError 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -9135,21 +9006,6 @@ exports[`PaymentMethods View renders correctly with sdkError 1`] = ` } } > - @@ -9755,7 +9611,6 @@ exports[`PaymentMethods View renders correctly with show back button false 1`] = style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -9766,9 +9621,9 @@ exports[`PaymentMethods View renders correctly with show back button false 1`] = style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -9784,21 +9639,6 @@ exports[`PaymentMethods View renders correctly with show back button false 1`] = } } > - diff --git a/app/components/UI/Ramp/Views/Quotes/__snapshots__/Quotes.test.tsx.snap b/app/components/UI/Ramp/Views/Quotes/__snapshots__/Quotes.test.tsx.snap index 9240f96c2a9..3ad1e4f304e 100644 --- a/app/components/UI/Ramp/Views/Quotes/__snapshots__/Quotes.test.tsx.snap +++ b/app/components/UI/Ramp/Views/Quotes/__snapshots__/Quotes.test.tsx.snap @@ -681,7 +681,6 @@ exports[`Quotes renders animation on first fetching 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -692,9 +691,9 @@ exports[`Quotes renders animation on first fetching 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -710,21 +709,6 @@ exports[`Quotes renders animation on first fetching 1`] = ` } } > - @@ -2920,7 +2904,6 @@ exports[`Quotes renders correctly after animation with quotes 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -2931,9 +2914,9 @@ exports[`Quotes renders correctly after animation with quotes 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -2949,21 +2932,6 @@ exports[`Quotes renders correctly after animation with quotes 1`] = ` } } > - @@ -3315,7 +3283,6 @@ exports[`Quotes renders correctly after animation with quotes 1`] = ` - @@ -4667,7 +4618,6 @@ exports[`Quotes renders correctly after animation with quotes and expanded 2`] = - @@ -6804,7 +6738,6 @@ exports[`Quotes renders correctly when fetching quotes errors 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -6815,9 +6748,9 @@ exports[`Quotes renders correctly when fetching quotes errors 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -6833,21 +6766,6 @@ exports[`Quotes renders correctly when fetching quotes errors 1`] = ` } } > - @@ -7562,7 +7480,6 @@ exports[`Quotes renders correctly with sdkError 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -7573,9 +7490,9 @@ exports[`Quotes renders correctly with sdkError 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -7591,21 +7508,6 @@ exports[`Quotes renders correctly with sdkError 1`] = ` } } > - @@ -8320,7 +8222,6 @@ exports[`Quotes renders quotes expired screen 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -8331,9 +8232,9 @@ exports[`Quotes renders quotes expired screen 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -8349,21 +8250,6 @@ exports[`Quotes renders quotes expired screen 1`] = ` } } > - diff --git a/app/components/UI/Ramp/Views/Regions/__snapshots__/Regions.test.tsx.snap b/app/components/UI/Ramp/Views/Regions/__snapshots__/Regions.test.tsx.snap index 5a5c62b514f..d181f8b8542 100644 --- a/app/components/UI/Ramp/Views/Regions/__snapshots__/Regions.test.tsx.snap +++ b/app/components/UI/Ramp/Views/Regions/__snapshots__/Regions.test.tsx.snap @@ -134,7 +134,6 @@ exports[`Regions View renders correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -145,9 +144,9 @@ exports[`Regions View renders correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -163,21 +162,6 @@ exports[`Regions View renders correctly 1`] = ` } } > - @@ -950,7 +934,6 @@ exports[`Regions View renders correctly while loading 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -961,9 +944,9 @@ exports[`Regions View renders correctly while loading 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -979,21 +962,6 @@ exports[`Regions View renders correctly while loading 1`] = ` } } > - @@ -1561,7 +1529,6 @@ exports[`Regions View renders correctly with error 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1572,9 +1539,9 @@ exports[`Regions View renders correctly with error 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1590,21 +1557,6 @@ exports[`Regions View renders correctly with error 1`] = ` } } > - @@ -2210,7 +2162,6 @@ exports[`Regions View renders correctly with no data 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -2221,9 +2172,9 @@ exports[`Regions View renders correctly with no data 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -2239,21 +2190,6 @@ exports[`Regions View renders correctly with no data 1`] = ` } } > - @@ -2821,7 +2757,6 @@ exports[`Regions View renders correctly with sdkError 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -2832,9 +2767,9 @@ exports[`Regions View renders correctly with sdkError 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -2850,21 +2785,6 @@ exports[`Regions View renders correctly with sdkError 1`] = ` } } > - @@ -3470,7 +3390,6 @@ exports[`Regions View renders correctly with selectedRegion 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -3481,9 +3400,9 @@ exports[`Regions View renders correctly with selectedRegion 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -3499,21 +3418,6 @@ exports[`Regions View renders correctly with selectedRegion 1`] = ` } } > - @@ -4284,7 +4188,6 @@ exports[`Regions View renders correctly with unsupportedRegion 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -4295,9 +4198,9 @@ exports[`Regions View renders correctly with unsupportedRegion 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -4313,21 +4216,6 @@ exports[`Regions View renders correctly with unsupportedRegion 1`] = ` } } > - @@ -5473,7 +5361,6 @@ exports[`Regions View renders correctly with unsupportedRegion 2`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -5484,9 +5371,9 @@ exports[`Regions View renders correctly with unsupportedRegion 2`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -5502,21 +5389,6 @@ exports[`Regions View renders correctly with unsupportedRegion 2`] = ` } } > - @@ -6662,7 +6534,6 @@ exports[`Regions View renders regions modal when pressing select button 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -6673,9 +6544,9 @@ exports[`Regions View renders regions modal when pressing select button 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -6691,21 +6562,6 @@ exports[`Regions View renders regions modal when pressing select button 1`] = ` } } > - diff --git a/app/components/UI/Ramp/Views/SendTransaction/__snapshots__/SendTransaction.test.tsx.snap b/app/components/UI/Ramp/Views/SendTransaction/__snapshots__/SendTransaction.test.tsx.snap index f3ad57c5056..2b0c2a89da8 100644 --- a/app/components/UI/Ramp/Views/SendTransaction/__snapshots__/SendTransaction.test.tsx.snap +++ b/app/components/UI/Ramp/Views/SendTransaction/__snapshots__/SendTransaction.test.tsx.snap @@ -157,7 +157,6 @@ exports[`SendTransaction View renders correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -168,9 +167,9 @@ exports[`SendTransaction View renders correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -186,21 +185,6 @@ exports[`SendTransaction View renders correctly 1`] = ` } } > - @@ -972,7 +956,6 @@ exports[`SendTransaction View renders correctly for custom action payment method style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -983,9 +966,9 @@ exports[`SendTransaction View renders correctly for custom action payment method style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1001,21 +984,6 @@ exports[`SendTransaction View renders correctly for custom action payment method } } > - @@ -1703,7 +1671,6 @@ exports[`SendTransaction View renders correctly for token 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -1714,9 +1681,9 @@ exports[`SendTransaction View renders correctly for token 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -1732,21 +1699,6 @@ exports[`SendTransaction View renders correctly for token 1`] = ` } } > - diff --git a/app/components/UI/Stake/components/GasImpactModal/__snapshots__/GasImpactModal.test.tsx.snap b/app/components/UI/Stake/components/GasImpactModal/__snapshots__/GasImpactModal.test.tsx.snap index 4050753f14d..1643b96b393 100644 --- a/app/components/UI/Stake/components/GasImpactModal/__snapshots__/GasImpactModal.test.tsx.snap +++ b/app/components/UI/Stake/components/GasImpactModal/__snapshots__/GasImpactModal.test.tsx.snap @@ -136,7 +136,6 @@ exports[`GasImpactModal render matches snapshot 1`] = ` - diff --git a/app/components/Views/AccountPermissions/AccountPermissionsConfirmRevokeAll/__snapshots__/AccountPermissionsConfirmRevokeAll.test.tsx.snap b/app/components/Views/AccountPermissions/AccountPermissionsConfirmRevokeAll/__snapshots__/AccountPermissionsConfirmRevokeAll.test.tsx.snap index 470bc9a07c3..efa598a9fbf 100644 --- a/app/components/Views/AccountPermissions/AccountPermissionsConfirmRevokeAll/__snapshots__/AccountPermissionsConfirmRevokeAll.test.tsx.snap +++ b/app/components/Views/AccountPermissions/AccountPermissionsConfirmRevokeAll/__snapshots__/AccountPermissionsConfirmRevokeAll.test.tsx.snap @@ -126,7 +126,6 @@ exports[`AccountPermissionsConfirmRevokeAll renders correctly 1`] = ` - diff --git a/app/components/Views/confirmations/SendFlow/Confirm/__snapshots__/index.test.tsx.snap b/app/components/Views/confirmations/SendFlow/Confirm/__snapshots__/index.test.tsx.snap index 910a960a2c1..375f22756fe 100644 --- a/app/components/Views/confirmations/SendFlow/Confirm/__snapshots__/index.test.tsx.snap +++ b/app/components/Views/confirmations/SendFlow/Confirm/__snapshots__/index.test.tsx.snap @@ -155,7 +155,6 @@ exports[`Confirm should render correctly 1`] = ` style={ { "alignItems": "center", - "flex": 1, "justifyContent": "center", } } @@ -166,9 +165,9 @@ exports[`Confirm should render correctly 1`] = ` style={ { "color": "#141618", - "fontFamily": "EuclidCircularB-Regular", - "fontSize": 30, - "fontWeight": "400", + "fontFamily": "EuclidCircularB-Bold", + "fontSize": 14, + "fontWeight": "700", "letterSpacing": 0, "lineHeight": 22, } @@ -184,21 +183,6 @@ exports[`Confirm should render correctly 1`] = ` } } > -