From 4283544cb2722555e95d538799d415da2df3e399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Camara?= Date: Thu, 18 Oct 2018 16:10:17 -0300 Subject: [PATCH] Fix map switches colors --- src/components/LayerMapSwitches.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LayerMapSwitches.js b/src/components/LayerMapSwitches.js index f0df207..7670614 100644 --- a/src/components/LayerMapSwitches.js +++ b/src/components/LayerMapSwitches.js @@ -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={