Fix map switches colors

This commit is contained in:
Letícia Camara 2018-10-18 16:10:17 -03:00
parent 06ff3e0ff9
commit 4283544cb2

View file

@ -88,7 +88,7 @@ class LayerMapSwitches extends React.Component {
onChange={this.props.onChange('ambassadorLayer')}
value="ambassadors"
classes={{
switchBase: ( (this.props.ambsMap) ? classes.iOSSwitchBaseBlue : classes.iOSSwitchBaseGreen ),
switchBase: classes.iOSSwitchBaseBlue,
bar: classes.iOSBar,
icon: classes.iOSIcon,
iconChecked: classes.iOSIconChecked,
@ -102,7 +102,7 @@ class LayerMapSwitches extends React.Component {
control={
<Switch
classes={{
switchBase: ( (this.props.ambsMap) ? classes.iOSSwitchBaseBlue : classes.iOSSwitchBaseGreen ),
switchBase: classes.iOSSwitchBaseGreen,
bar: classes.iOSBar,
icon: classes.iOSIcon,
iconChecked: classes.iOSIconChecked,