Commit 2780b00e authored by Trisno's avatar Trisno

fixing status bar

parent 3ef60d93
...@@ -9,9 +9,7 @@ ...@@ -9,9 +9,7 @@
"android", "android",
"web" "web"
], ],
"androidStatusBar": {
"hidden": "true"
},
"version": "2.0.0", "version": "2.0.0",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/excelso.png", "icon": "./assets/excelso.png",
...@@ -29,14 +27,14 @@ ...@@ -29,14 +27,14 @@
"ios": { "ios": {
"supportsTablet": true, "supportsTablet": true,
"bundleIdentifier": "id.web.ravintola.excelsocrm", "bundleIdentifier": "id.web.ravintola.excelsocrm",
"buildNumber": "2006261800", "buildNumber": "2006271330",
"config": { "config": {
"googleMapsApiKey": "AIzaSyCvIFNvXKmBNetqPrV4VnjvF772avYbA3M" "googleMapsApiKey": "AIzaSyCvIFNvXKmBNetqPrV4VnjvF772avYbA3M"
} }
}, },
"android": { "android": {
"package": "id.web.ravintola.excelsocrm", "package": "id.web.ravintola.excelsocrm",
"versionCode": 2006261800, "versionCode": 2006271330,
"config": { "config": {
"googleMaps": { "googleMaps": {
"apiKey": "AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo" "apiKey": "AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
......
...@@ -307,12 +307,12 @@ class Home extends React.Component { ...@@ -307,12 +307,12 @@ class Home extends React.Component {
render() { render() {
return ( return (
<View style={styles.container}> <View style={styles.container}>
<StatusBar /> <StatusBar backgroundColor='#CFB368' />
<ScrollView> <ScrollView>
<View style={{ flex: 6 }}> <View style={{ flex: 6 }}>
<View style={styles.header}> <View style={styles.header}>
<View style={{ flex: 0.1, padding: 15 }} /> <View style={{ flex: 0.1, padding: 15 }} />
<View style={{ flex: 0.8, alignItems: 'center'}}> <View style={{ flex: 0.8, alignItems: 'center', padding: 15 }}>
<Text style={styles.titleText}>{i18n.t('promotion')}</Text> <Text style={styles.titleText}>{i18n.t('promotion')}</Text>
</View> </View>
<View style={{ padding: 15, flex: 0.1, alignItems: 'flex-end' }}> <View style={{ padding: 15, flex: 0.1, alignItems: 'flex-end' }}>
...@@ -673,11 +673,11 @@ const styles = StyleSheet.create({ ...@@ -673,11 +673,11 @@ const styles = StyleSheet.create({
flex: 0.1, flex: 0.1,
flexDirection: 'row', flexDirection: 'row',
backgroundColor: '#CFB368', backgroundColor: '#CFB368',
paddingTop: StatusBar.currentHeight
// justifyContent: 'space-between', // justifyContent: 'space-between',
// alignItems: 'center' // alignItems: 'center'
}, },
titleText: { titleText: {
margin: 15,
fontSize: 20, fontSize: 20,
// fontWeight: 'bold', // fontWeight: 'bold',
fontFamily: 'Gotham-Black', fontFamily: 'Gotham-Black',
......
...@@ -298,8 +298,8 @@ class MenuSelection extends React.Component { ...@@ -298,8 +298,8 @@ class MenuSelection extends React.Component {
render() { render() {
return ( return (
<View style={styles.container}> <View style={styles.container}>
<StatusBar/> <StatusBar backgroundColor='#CFB368'/>
<View style={{ flex: 0.5, height: 50, flexDirection: 'row' }}> <View style={{ flex: 0.5, height: 50, flexDirection: 'row', paddingTop: StatusBar.currentHeight }}>
<FlatList horizontal={true} style={{ flexDirection: 'row' }} <FlatList horizontal={true} style={{ flexDirection: 'row' }}
showsHorizontalScrollIndicator={false} showsHorizontalScrollIndicator={false}
data={this.state.listCategory} data={this.state.listCategory}
......
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