From 8d9d11732380937604ce9021bece6a6f6af845a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Tue, 5 Sep 2023 11:11:46 +0200 Subject: [PATCH] Contact Detail screen hide vcard btton , comment ask permissions --- ComApp/src/App/Views/ContactDetailsScreen.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ComApp/src/App/Views/ContactDetailsScreen.js b/ComApp/src/App/Views/ContactDetailsScreen.js index 70d3c44..e09874c 100644 --- a/ComApp/src/App/Views/ContactDetailsScreen.js +++ b/ComApp/src/App/Views/ContactDetailsScreen.js @@ -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} /> )}