Skip to content

Commit

Permalink
Merge pull request #16 from Johan-dutoit/master
Browse files Browse the repository at this point in the history
Fixed accessibility for switches
  • Loading branch information
evetstech authored Mar 6, 2017
2 parents 494de2e + 450a090 commit f1b5eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class SettingsList extends React.Component {
let titleInfoPosition = item.titleInfoPosition ? item.titleInfoPosition : this.props.defaultTitleInfoPosition;

return (
<TouchableHighlight key={'item_' + index} underlayColor={item.underlayColor ? item.underlayColor : this.props.underlayColor} onPress={item.onPress} onLongPress={item.onLongPress}>
<TouchableHighlight accessible={false} key={'item_' + index} underlayColor={item.underlayColor ? item.underlayColor : this.props.underlayColor} onPress={item.onPress} onLongPress={item.onLongPress}>
<View style={[styles.itemBox, {backgroundColor: item.backgroundColor ? item.backgroundColor : this.props.backgroundColor}]}>
{item.icon}
{item.isAuth ?
Expand Down

0 comments on commit f1b5eea

Please sign in to comment.