Skip to content

Commit

Permalink
fix(wallet-mobile): added scroll to the dapp actions (#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Oct 22, 2024
1 parent 5100ef9 commit 727338a
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ import {useDappConnector} from '@yoroi/dapp-connector'
import {useTheme} from '@yoroi/theme'
import {Image} from 'expo-image'
import * as React from 'react'
import {Alert, Linking, StyleSheet, Text, TouchableOpacity, TouchableWithoutFeedback, View} from 'react-native'
import {
Alert,
Linking,
ScrollView,
StyleSheet,
Text,
TouchableOpacity,
TouchableWithoutFeedback,
View,
} from 'react-native'
import {useSafeAreaInsets} from 'react-native-safe-area-context'
import uuid from 'uuid'

Expand Down Expand Up @@ -93,7 +102,7 @@ export const DAppListItem = ({dApp, connected, onPress}: Props) => {

openModal(
strings.dAppActions,
<View style={styles.rootDialog}>
<ScrollView style={styles.rootDialog} bounces={false}>
<View style={styles.dAppInfo}>
<Image source={{uri: logo}} style={styles.dAppLogoDialog} />

Expand Down Expand Up @@ -127,7 +136,7 @@ export const DAppListItem = ({dApp, connected, onPress}: Props) => {
</View>

<Spacer fill />
</View>,
</ScrollView>,
dialogHeight,
)
}
Expand Down

0 comments on commit 727338a

Please sign in to comment.