Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
2780b00e
Commit
2780b00e
authored
Jun 28, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing status bar
parent
3ef60d93
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
app.json
app.json
+3
-5
Home.js
view/Home.js
+3
-3
MenuSelection.js
view/MenuSelection.js
+2
-2
No files found.
app.json
View file @
2780b00e
...
...
@@ -9,9 +9,7 @@
"android"
,
"web"
],
"androidStatusBar"
:
{
"hidden"
:
"true"
},
"version"
:
"2.0.0"
,
"orientation"
:
"portrait"
,
"icon"
:
"./assets/excelso.png"
,
...
...
@@ -29,14 +27,14 @@
"ios"
:
{
"supportsTablet"
:
true
,
"bundleIdentifier"
:
"id.web.ravintola.excelsocrm"
,
"buildNumber"
:
"20062
6180
0"
,
"buildNumber"
:
"20062
7133
0"
,
"config"
:
{
"googleMapsApiKey"
:
"AIzaSyCvIFNvXKmBNetqPrV4VnjvF772avYbA3M"
}
},
"android"
:
{
"package"
:
"id.web.ravintola.excelsocrm"
,
"versionCode"
:
20062
6180
0
,
"versionCode"
:
20062
7133
0
,
"config"
:
{
"googleMaps"
:
{
"apiKey"
:
"AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
...
...
view/Home.js
View file @
2780b00e
...
...
@@ -307,12 +307,12 @@ class Home extends React.Component {
render
()
{
return
(
<
View
style
=
{
styles
.
container
}
>
<
StatusBar
/>
<
StatusBar
backgroundColor
=
'#CFB368'
/>
<
ScrollView
>
<
View
style
=
{{
flex
:
6
}}
>
<
View
style
=
{
styles
.
header
}
>
<
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
>
<
/View
>
<
View
style
=
{{
padding
:
15
,
flex
:
0.1
,
alignItems
:
'flex-end'
}}
>
...
...
@@ -673,11 +673,11 @@ const styles = StyleSheet.create({
flex
:
0.1
,
flexDirection
:
'row'
,
backgroundColor
:
'#CFB368'
,
paddingTop
:
StatusBar
.
currentHeight
// justifyContent: 'space-between',
// alignItems: 'center'
},
titleText
:
{
margin
:
15
,
fontSize
:
20
,
// fontWeight: 'bold',
fontFamily
:
'Gotham-Black'
,
...
...
view/MenuSelection.js
View file @
2780b00e
...
...
@@ -298,8 +298,8 @@ class MenuSelection extends React.Component {
render
()
{
return
(
<
View
style
=
{
styles
.
container
}
>
<
StatusBar
/>
<
View
style
=
{{
flex
:
0.5
,
height
:
50
,
flexDirection
:
'row'
}}
>
<
StatusBar
backgroundColor
=
'#CFB368'
/>
<
View
style
=
{{
flex
:
0.5
,
height
:
50
,
flexDirection
:
'row'
,
paddingTop
:
StatusBar
.
currentHeight
}}
>
<
FlatList
horizontal
=
{
true
}
style
=
{{
flexDirection
:
'row'
}}
showsHorizontalScrollIndicator
=
{
false
}
data
=
{
this
.
state
.
listCategory
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment