Skip to content

Commit

Permalink
fix: tx history modal
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Nov 9, 2023
1 parent 58929df commit 47144d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/wallet-mobile/src/TxHistory/ActionsBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {banxaModuleMaker} from '@yoroi/banxa'
import {useSwap} from '@yoroi/swap'
import React, {ReactNode} from 'react'
import {useIntl} from 'react-intl'
import {Linking, StyleSheet, TouchableOpacity, View} from 'react-native'
import {Linking, Platform, StyleSheet, TouchableOpacity, View} from 'react-native'

import {Button, Icon, Spacer, Text, useModal} from '../components'
import {useSend} from '../features/Send/common/SendContext'
Expand Down Expand Up @@ -42,7 +42,7 @@ export const ActionsBanner = ({disabled = false}: {disabled: boolean}) => {
const handleOnBuy = () => {
track.walletPageExchangeBottomSheetClicked()

const modalHeight = 310
const modalHeight = 320
const modalTextFormattingOptions: BuyInfoFormattingOptions = {
b: (text) => <Text style={[styles.buyInfo, styles.bold]}>{text}</Text>,
textComponent: (text) => <Text style={styles.buyInfo}>{text}</Text>,
Expand Down Expand Up @@ -77,6 +77,8 @@ export const ActionsBanner = ({disabled = false}: {disabled: boolean}) => {
closeModal()
}}
/>

{Platform.OS === 'ios' && <Spacer height={20} />}
</View>,
modalHeight,
)
Expand Down Expand Up @@ -211,6 +213,7 @@ const styles = StyleSheet.create({
fontSize: 16,
color: '#000000',
fontFamily: 'Rubik-Regular',
fontWeight: '400',
lineHeight: 24,
},
bold: {
Expand Down

0 comments on commit 47144d3

Please sign in to comment.