|
|
@@ -15,6 +15,7 @@ import PagerUtil from './PagerUtil';
|
|
|
import utils from '../../utils/utils';
|
|
|
import { Styles } from '../../components/Toolbar';
|
|
|
import { getFocusedRouteNameFromRoute } from '@react-navigation/core';
|
|
|
+import app from '../../../app.json';
|
|
|
|
|
|
export const PagerList = {
|
|
|
"tabInfo": "Info",
|
|
|
@@ -55,8 +56,8 @@ export default class ChargeAdapter extends Component {
|
|
|
pressColor: rippleColor,
|
|
|
scrollEnabled: this.pageAdapter.length > 3,
|
|
|
indicatorStyle: styles.indicator,
|
|
|
- activeTintColor: textPrimary,
|
|
|
- inactiveTintColor: textSecondary //"#E0E0E0",
|
|
|
+ activeTintColor: app.isWhitelabel ? textPrimary : colorLight,
|
|
|
+ inactiveTintColor: app.isWhitelabel ? textSecondary : "#E0E0E0"
|
|
|
}
|
|
|
this.action = "";
|
|
|
this.isHide = false;
|
|
|
@@ -283,10 +284,10 @@ const styles = StyleSheet.create({
|
|
|
backgroundColor: colorLight
|
|
|
},
|
|
|
tabStyle: {
|
|
|
- backgroundColor: colorLight //colorPrimary
|
|
|
+ backgroundColor: app.isWhitelabel ? colorLight : colorPrimary
|
|
|
},
|
|
|
indicator: {
|
|
|
- backgroundColor: colorAccent //colorLight
|
|
|
+ backgroundColor: app.isWhitelabel ? colorPrimary : colorLight
|
|
|
}
|
|
|
})
|
|
|
|