diff --git a/src/components/AutoGasBanner.tsx b/src/components/AutoGasBanner.tsx index 815e41df6..4c36dcb29 100644 --- a/src/components/AutoGasBanner.tsx +++ b/src/components/AutoGasBanner.tsx @@ -1,5 +1,4 @@ import CloseCircle from '@assets/images/closeCircleFilled.svg' -import Info from '@assets/images/info.svg' import Warning from '@assets/images/warning.svg' import { useMint, @@ -38,6 +37,7 @@ import { ReAnimatedBox } from './AnimatedBox' import Box from './Box' import Text from './Text' import TouchableOpacityBox from './TouchableOpacityBox' +import CircleLoader from './CircleLoader' const MIN_HEIGHT = 52 @@ -124,6 +124,7 @@ const Banner = ({ onLayout, ...rest }: BannerProps) => { url: '', additionalMessage: t('transactions.autoGasConvert', { symbol }), serializedTxs: [serializedTx], + header: t('transactions.autoGasConvertHeader'), }) if (decision) { await sendAndConfirmRawTransaction( @@ -185,7 +186,7 @@ const Banner = ({ onLayout, ...rest }: BannerProps) => { {error ? ( ) : ( - + )} { bottomSheetModalRef.current?.expand() setTotalSolFee(0) @@ -150,6 +152,7 @@ const WalletSignBottomSheet = forwardRef( warning, additionalMessage, serializedTxs, + header, }) const p = new Promise((resolve) => { promiseResolve = resolve @@ -249,6 +252,11 @@ const WalletSignBottomSheet = forwardRef( onLayout={handleContentLayout} > + {walletSignOpts.header && ( + + {walletSignOpts.header} + + )} Promise hide: () => void }