Skip to content

Commit

Permalink
rfid-input - add enableScan to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Löcker authored and Patrick Löcker committed Jul 6, 2018
1 parent ead7d4b commit cbde422
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/react-chayns-rfid_input/Example.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default class Example extends React.Component {
onConfirm={this.onConfirm}
onInput={this.onInput}
value={this.state.rfidInput}
enableScan={chayns.env.isApp && chayns.env.isAndroid}
/>
</ExampleContainer>
);
Expand Down

0 comments on commit cbde422

Please sign in to comment.