Skip to content

Commit

Permalink
Hide and show accordion content for android
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrainsby committed Feb 1, 2016
1 parent 2a3ed0f commit 593cc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ var Accordion = React.createClass({
}}
>
<View ref="AccordionContent">
{this.props.content}
{Platform.os === 'ios' || this.state.is_visible ? this.props.content: null}
</View>
</View>
</View>
Expand Down

0 comments on commit 593cc59

Please sign in to comment.