Skip to content

Commit

Permalink
fix(wallet-mobile): tx review uat token details
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Jan 15, 2025
1 parent 574c6c9 commit 5f6c8aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const Overview = ({

if (info.type === 'ft') {
return (
<ScrollView bounces={false}>
<View>
<Name info={info} />

<Symbol info={info} />
Expand All @@ -150,17 +150,17 @@ const Overview = ({
<Description info={info} />

<ExplorerInfoLinks id={info.id} type="token" />
</ScrollView>
</View>
)
}
return (
<ScrollView bounces={false}>
<View>
<Name info={info} />

<Description info={info} />

<ExplorerInfoLinks id={info.id} type="token" />
</ScrollView>
</View>
)
}

Expand Down
10 changes: 8 additions & 2 deletions apps/wallet-mobile/src/features/ReviewTx/common/TokenItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {useTheme} from '@yoroi/theme'
import {Portfolio} from '@yoroi/types'
import * as React from 'react'
import {StyleSheet, Text, TouchableOpacity, useWindowDimensions} from 'react-native'
import {ScrollView, StyleSheet, Text, TouchableOpacity, useWindowDimensions} from 'react-native'

import {useModal} from '../../../components/Modal/ModalContext'
import {useStrings} from './hooks/useStrings'
Expand All @@ -24,7 +24,13 @@ export const TokenItem = ({
const {height: windowHeight} = useWindowDimensions()

const handleShowTokenDetails = () => {
openModal(strings.tokenDetailsTitle, <TokenDetails tokenInfo={tokenInfo} />, windowHeight * 0.8)
openModal(
strings.tokenDetailsTitle,
<ScrollView bounces={false}>
<TokenDetails tokenInfo={tokenInfo} />
</ScrollView>,
windowHeight * 0.8,
)
}

if (!isSent)
Expand Down

0 comments on commit 5f6c8aa

Please sign in to comment.