Contact Detail screen hide vcard btton , comment ask permissions

This commit is contained in:
Jérémy Munsch 2023-09-05 11:11:46 +02:00
parent fbf5ba4ae7
commit 8d9d117323
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -446,9 +446,9 @@ class ContactDetailsScreen extends React.Component {
const { action } = this.props.route.params;
this.setState({ action: action === 'edit' ? 'edit' : 'add' });
BarCodeScanner.requestPermissionsAsync().then(res => {
this.setState({ hasPermission: res.status === 'granted' });
});
// BarCodeScanner.requestPermissionsAsync().then(res => {
// this.setState({ hasPermission: res.status === 'granted' });
// });
}
render() {
@ -618,6 +618,7 @@ class ContactDetailsScreen extends React.Component {
color={this.props.mainColor}
// THIS IS NOT AVAILABLE FOR NOW
disabled={true}
opacity={0}
/>
)}
<Button