Commit 19778017 authored by Fred's avatar Fred

fix styling in both android and ios

parent ab441d3e
...@@ -228,8 +228,8 @@ class Home extends React.Component { ...@@ -228,8 +228,8 @@ class Home extends React.Component {
render() { render() {
// console.log(this.props.in_payment) // console.log(this.props.in_payment)
return ( return (
<SafeAreaView style={styles.container}> <View style={styles.container}>
<StatusBar hidden={true} /> {/* <StatusBar hidden={true} /> */}
<ScrollView> <ScrollView>
<View style={{ flex: 6 }}> <View style={{ flex: 6 }}>
<View style={styles.header}> <View style={styles.header}>
...@@ -493,7 +493,7 @@ class Home extends React.Component { ...@@ -493,7 +493,7 @@ class Home extends React.Component {
</View> </View>
</View> </View>
</ScrollView> </ScrollView>
</SafeAreaView> </View>
) )
} }
} }
...@@ -546,8 +546,8 @@ const styles = StyleSheet.create({ ...@@ -546,8 +546,8 @@ const styles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
height: 40, height: 40,
marginTop: 10, marginTop: 10,
paddingTop: 15, // paddingTop: 15,
paddingBottom: 15, // paddingBottom: 15,
marginRight: 0, marginRight: 0,
marginLeft: 0, marginLeft: 0,
backgroundColor: '#838383', backgroundColor: '#838383',
...@@ -561,8 +561,8 @@ const styles = StyleSheet.create({ ...@@ -561,8 +561,8 @@ const styles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
height: 40, height: 40,
marginTop: 10, marginTop: 10,
paddingTop: 15, // paddingTop: 15,
paddingBottom: 15, // paddingBottom: 15,
marginRight: 0, marginRight: 0,
marginLeft: -30, marginLeft: -30,
backgroundColor: '#354175', backgroundColor: '#354175',
......
...@@ -147,7 +147,6 @@ class Outlets extends React.Component { ...@@ -147,7 +147,6 @@ class Outlets extends React.Component {
const label = cities[city]; const label = cities[city];
const value = city; const value = city;
data_city.push({ label: label, value: label }) data_city.push({ label: label, value: label })
console.log("INI LABEL : " + label)
} }
} }
......
...@@ -881,8 +881,8 @@ const styles = StyleSheet.create({ ...@@ -881,8 +881,8 @@ const styles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
height: 40, height: 40,
marginTop: 10, marginTop: 10,
paddingTop: 15, // paddingTop: 15,
paddingBottom: 15, // paddingBottom: 15,
marginRight: 0, marginRight: 0,
marginLeft: 0, marginLeft: 0,
backgroundColor: '#838383', backgroundColor: '#838383',
...@@ -896,8 +896,8 @@ const styles = StyleSheet.create({ ...@@ -896,8 +896,8 @@ const styles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
height: 40, height: 40,
marginTop: 10, marginTop: 10,
paddingTop: 15, // paddingTop: 15,
paddingBottom: 15, // paddingBottom: 15,
marginRight: 0, marginRight: 0,
marginLeft: -30, marginLeft: -30,
backgroundColor: '#354175', backgroundColor: '#354175',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment