Skip to content

Commit

Permalink
fix(wallet-mobile): add scroll to disclaimer modal (#3702)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulnr7 authored and stackchain committed Oct 23, 2024
1 parent 727338a commit 1024cb4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {useTheme} from '@yoroi/theme'
import * as React from 'react'
import {StyleSheet, Text, View} from 'react-native'
import {ScrollView, StyleSheet, Text, View} from 'react-native'
import {useSafeAreaInsets} from 'react-native-safe-area-context'

import {Button} from '../../../components/Button/Button'
Expand Down Expand Up @@ -38,7 +38,7 @@ export const UnverifiedDappModal = ({onConfirm}: Props) => {
const strings = useStrings()

return (
<View style={styles.container}>
<ScrollView style={styles.container} bounces={false}>
<View style={styles.line}>
<Text style={styles.text}>{strings.disclaimerModalText}</Text>
</View>
Expand All @@ -48,7 +48,7 @@ export const UnverifiedDappModal = ({onConfirm}: Props) => {
<View style={styles.actions}>
<Button title={strings.understand} shelleyTheme onPress={onConfirm} />
</View>
</View>
</ScrollView>
)
}

Expand Down

0 comments on commit 1024cb4

Please sign in to comment.