Skip to content

Commit

Permalink
Fix brightness + syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaël Villeneuve committed Jul 12, 2017
1 parent a0cd155 commit 25de30a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Example/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PdfScanner extends React.Component {
brightness={this.props.brightness||0}
saturation={this.props.saturation||1}
contrast={this.props.contrast||1}
/>;
/>
);
}
}
Expand Down

0 comments on commit 25de30a

Please sign in to comment.