Skip to content

Commit

Permalink
fix(feedV2): inverted swap from/to for deposits with swap
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanregisser committed Oct 31, 2024
1 parent 12210f7 commit 0d0cba2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ export function DepositOrWithdrawContent({ transaction }: DepositOrWithdrawConte
<View style={styles.swapValueContainer}>
<TokenDisplay
testID="DepositOrWithdraw/Swap/From"
tokenId={transaction.swap.inAmount.tokenId}
amount={transaction.swap.inAmount.value}
tokenId={transaction.swap.outAmount.tokenId}
amount={transaction.swap.outAmount.value}
showLocalAmount={false}
style={styles.bodyText}
/>
<ArrowRightThick size={20} color={Colors.black} />
<TokenDisplay
testID="DepositOrWithdraw/Swap/To"
tokenId={transaction.swap.outAmount.tokenId}
amount={transaction.swap.outAmount.value}
tokenId={transaction.swap.inAmount.tokenId}
amount={transaction.swap.inAmount.value}
showLocalAmount={false}
style={styles.bodyText}
/>
Expand Down

0 comments on commit 0d0cba2

Please sign in to comment.