Fix map switches colors
This commit is contained in:
parent
06ff3e0ff9
commit
4283544cb2
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class LayerMapSwitches extends React.Component {
|
||||||
onChange={this.props.onChange('ambassadorLayer')}
|
onChange={this.props.onChange('ambassadorLayer')}
|
||||||
value="ambassadors"
|
value="ambassadors"
|
||||||
classes={{
|
classes={{
|
||||||
switchBase: ( (this.props.ambsMap) ? classes.iOSSwitchBaseBlue : classes.iOSSwitchBaseGreen ),
|
switchBase: classes.iOSSwitchBaseBlue,
|
||||||
bar: classes.iOSBar,
|
bar: classes.iOSBar,
|
||||||
icon: classes.iOSIcon,
|
icon: classes.iOSIcon,
|
||||||
iconChecked: classes.iOSIconChecked,
|
iconChecked: classes.iOSIconChecked,
|
||||||
|
@ -102,7 +102,7 @@ class LayerMapSwitches extends React.Component {
|
||||||
control={
|
control={
|
||||||
<Switch
|
<Switch
|
||||||
classes={{
|
classes={{
|
||||||
switchBase: ( (this.props.ambsMap) ? classes.iOSSwitchBaseBlue : classes.iOSSwitchBaseGreen ),
|
switchBase: classes.iOSSwitchBaseGreen,
|
||||||
bar: classes.iOSBar,
|
bar: classes.iOSBar,
|
||||||
icon: classes.iOSIcon,
|
icon: classes.iOSIcon,
|
||||||
iconChecked: classes.iOSIconChecked,
|
iconChecked: classes.iOSIconChecked,
|
||||||
|
|
Loading…
Reference in a new issue