diff --git a/apps/wallet-mobile/src/TxHistory/ActionsBanner.tsx b/apps/wallet-mobile/src/TxHistory/ActionsBanner.tsx index 5b563c5030..d12c88b677 100644 --- a/apps/wallet-mobile/src/TxHistory/ActionsBanner.tsx +++ b/apps/wallet-mobile/src/TxHistory/ActionsBanner.tsx @@ -63,12 +63,12 @@ export const ActionsBanner = ({disabled = false}: {disabled: boolean}) => { {Boolean(features.showSwapButton) && ( - + {strings.swapLabel} @@ -119,13 +119,6 @@ const styles = StyleSheet.create({ borderRadius: 20, backgroundColor: '#3154CB', }, - actionIconNoBackground: { - justifyContent: 'center', - alignItems: 'center', - height: 42, - width: 42, - borderRadius: 20, - }, actionLabel: { paddingTop: 8, fontSize: 12, diff --git a/apps/wallet-mobile/src/components/Icon/Swap.tsx b/apps/wallet-mobile/src/components/Icon/Swap.tsx index c368df91fe..f605bab3fa 100644 --- a/apps/wallet-mobile/src/components/Icon/Swap.tsx +++ b/apps/wallet-mobile/src/components/Icon/Swap.tsx @@ -1,21 +1,20 @@ import React from 'react' import Svg, {ClipPath, Defs, G, Path, Rect} from 'react-native-svg' -// TODO: make it dynamic like others -export const Swap = () => ( - - - +type Props = {size?: number; color?: string} +export const Swap = ({size = 42, color}: Props) => ( + + - +