Skip to content

Commit

Permalink
change to apply style after overriding all styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Tavernari authored Aug 4, 2017
1 parent 0b35dbd commit 118294b
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 @@ -84,7 +84,7 @@ export default class SliderVolumeController extends Component {

slider = <ReactNativeVolumeControllerSlider {...rest}
onValueChange={onValueChange}
style={[styles.slider, style, {width:sliderWidth}]}/>
style={[styles.slider, {width:sliderWidth}, style]}/>
}

return(<View style={[this.props.style, {marginLeft:10, marginRight:10,flex:1, flexDirection:"row", width:viewWidth,
Expand Down

0 comments on commit 118294b

Please sign in to comment.