From 25de30a11f9b01bace9948c60a5be7e90be2b204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Villeneuve?= Date: Wed, 12 Jul 2017 16:06:30 +0200 Subject: [PATCH] Fix brightness + syntax error --- Example/index.ios.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/index.ios.js b/Example/index.ios.js index 2bef23d..3d236d1 100644 --- a/Example/index.ios.js +++ b/Example/index.ios.js @@ -33,7 +33,7 @@ export default class Example extends Component { onPictureTaken={data => this.setState({ image: data.image })} overlayColor="rgba(255,130,0, 0.7)" enableTorch={this.state.flashEnabled} - brightness={0.3} + brightness={0} saturation={1} contrast={1.1} style={styles.scanner} diff --git a/index.js b/index.js index 0eb224e..70b8ee3 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ class PdfScanner extends React.Component { brightness={this.props.brightness||0} saturation={this.props.saturation||1} contrast={this.props.contrast||1} - />; + /> ); } }