Skip to content

Commit

Permalink
refactor(swap): tx confirm info modals
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Oct 19, 2023
1 parent 7e0525f commit 218c8ee
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {Quantities} from '../../../../yoroi-wallets/utils'
import {LiquidityPool} from '../../common/LiquidityPool/LiquidityPool'
import {PoolIcon} from '../../common/PoolIcon/PoolIcon'
import {useStrings} from '../../common/strings'
import {SwapInfoLink} from '../../common/SwapInfoLink/SwapInfoLink'

export const TransactionSummary = () => {
const strings = useStrings()
Expand Down Expand Up @@ -90,7 +91,18 @@ export const TransactionSummary = () => {
{orderInfo.info != undefined && (
<TouchableOpacity
onPress={() => {
openModal(orderInfo.label, <Text>{orderInfo.info}</Text>)
openModal(
orderInfo.label,
<View style={{justifyContent: 'space-between', flex: 1}}>
<Text>{orderInfo.info}</Text>

<Spacer fill />

<SwapInfoLink />

<Spacer height={24} />
</View>,
)
}}
>
<Icon.Info size={24} />
Expand Down

0 comments on commit 218c8ee

Please sign in to comment.