File tree Expand file tree Collapse file tree
app/components/Views/MultichainAccounts/MultichainAccountConnect Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
22import { Provider } from 'react-redux' ;
33import { configureStore } from '@reduxjs/toolkit' ;
44import { AccountGroupType , AccountGroupId } from '@metamask/account-api' ;
5- import { Box , Toast } from '@metamask/design-system-react-native' ;
5+ import { Box , Toaster } from '@metamask/design-system-react-native' ;
66import { NavigationContainer } from '@react-navigation/native' ;
77import { createStackNavigator } from '@react-navigation/stack' ;
88import {
@@ -211,7 +211,7 @@ const MultichainAccountConnectMeta = {
211211 < MockNavigationWrapper >
212212 < Box twClassName = "flex-1 bg-default" >
213213 < Story />
214- < Toast />
214+ < Toaster />
215215 </ Box >
216216 </ MockNavigationWrapper >
217217 </ Provider >
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ import {
5252 AccountConnectScreens ,
5353 NetworkAvatarProps ,
5454} from '../../AccountConnect/AccountConnect.types.ts' ;
55+ import {
56+ AvatarSize ,
57+ AvatarVariant ,
58+ } from '../../../../component-library/components/Avatars/Avatar' ;
5559import { getNetworkImageSource } from '../../../../util/networks/index.js' ;
5660import {
5761 EvmAndMultichainNetworkConfigurationsWithCaipChainId ,
@@ -121,8 +125,8 @@ const ScreenContainer: React.FC<ScreenContainerProps> = ({
121125 </ Box >
122126) ;
123127
124- const NETWORK_AVATAR_SIZE = '16' as NetworkAvatarProps [ 'size' ] ;
125- const NETWORK_AVATAR_VARIANT = ' Network' as NetworkAvatarProps [ 'variant' ] ;
128+ const NETWORK_AVATAR_SIZE = AvatarSize . Xs ;
129+ const NETWORK_AVATAR_VARIANT = AvatarVariant . Network ;
126130
127131const MultichainAccountConnect = ( props : AccountConnectProps ) => {
128132 const { colors } = useTheme ( ) ;
You can’t perform that action at this time.
0 commit comments