fix touch area

This commit is contained in:
Michele Balistreri 2024-10-10 13:21:45 +02:00
parent 935864ecc5
commit 9c3dece7d0
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 4 additions and 6 deletions

View File

@ -225,12 +225,10 @@ const MnemonicScreen: FC<MnemonicScreenProps> = props => {
numColumns={3} numColumns={3}
style={[styles.mnemonicList, {marginTop: 10}]} style={[styles.mnemonicList, {marginTop: 10}]}
renderItem={({ item, index }) => renderItem={({ item, index }) =>
<View style={[styles.mnemonicWordContainer, selectedWords[index] ? {backgroundColor: 'white'} : {}, {paddingVertical: 20}]}> <TouchableOpacity onPress={() => verifyWord(index)} style={[styles.mnemonicWordContainer, selectedWords[index] ? {backgroundColor: 'white'} : {}, {paddingVertical: 20}]}>
<TouchableOpacity onPress={() => verifyWord(index)}> <Text style={[styles.mnemonicWord, selectedWords[index] ? {color: 'black'} : {}]}> {item}</Text>
<Text style={[styles.mnemonicWord, selectedWords[index] ? {color: 'black'} : {}]}> {item}</Text> </TouchableOpacity>
</TouchableOpacity> }
</View>
}
/> />
<View style={Styles.footer}> <View style={Styles.footer}>
<View style={Styles.navContainer}> <View style={Styles.navContainer}>