Contact Detail screen hide vcard btton , comment ask permissions
This commit is contained in:
parent
fbf5ba4ae7
commit
8d9d117323
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue