fix modal

This commit is contained in:
Michele Balistreri 2024-10-10 08:52:15 +02:00
parent e197ab50eb
commit edc0debe31
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ const NFCModal: FC<NFCModalProps> = props => {
<Icon name="nfc-tap" size={40} style={Styles.modalIcon}/> <Icon name="nfc-tap" size={40} style={Styles.modalIcon}/>
</View> </View>
<Text style={Styles.modalPrompt}>Tap your Keycard</Text> <Text style={Styles.modalPrompt}>Tap your Keycard</Text>
<View style={Styles.navContainer}> <View style={Styles.footer}>
<Button label="Cancel" disabled={false} onChangeFunc={() => onChangeFunc()}></Button> <Button label="Cancel" disabled={false} onChangeFunc={() => onChangeFunc()}></Button>
</View> </View>
</View> </View>

View File

@ -49,7 +49,7 @@ const Styles = StyleSheet.create({
footer: { footer: {
width: '100%', width: '100%',
position: 'absolute', position: 'absolute',
bottom: 60, bottom: 40,
justifyContent: 'center' justifyContent: 'center'
}, },
sublinkContainer: { sublinkContainer: {