Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
Drip
Commits
87ac1d6b
Commit
87ac1d6b
authored
6 years ago
by
Julia Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Adjust menu styling and remove remnants of navigator
parent
c744520b
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
components/calendar.js
+1
-1
1 addition, 1 deletion
components/calendar.js
components/chart/chart.js
+1
-1
1 addition, 1 deletion
components/chart/chart.js
components/menu.js
+1
-1
1 addition, 1 deletion
components/menu.js
styles/index.js
+5
-2
5 additions, 2 deletions
styles/index.js
with
8 additions
and
5 deletions
components/calendar.js
+
1
−
1
View file @
87ac1d6b
...
@@ -29,7 +29,7 @@ export default class CalendarView extends Component {
...
@@ -29,7 +29,7 @@ export default class CalendarView extends Component {
passDateToDayView
(
result
)
{
passDateToDayView
(
result
)
{
const
cycleDay
=
getOrCreateCycleDay
(
result
.
dateString
)
const
cycleDay
=
getOrCreateCycleDay
(
result
.
dateString
)
const
navigate
=
this
.
props
.
navigation
.
navigate
const
navigate
=
this
.
props
.
navigate
navigate
(
'
CycleDay
'
,
{
cycleDay
})
navigate
(
'
CycleDay
'
,
{
cycleDay
})
}
}
...
...
This diff is collapsed.
Click to expand it.
components/chart/chart.js
+
1
−
1
View file @
87ac1d6b
...
@@ -21,7 +21,7 @@ export default class CycleChart extends Component {
...
@@ -21,7 +21,7 @@ export default class CycleChart extends Component {
<
DayColumn
<
DayColumn
{...
item
}
{...
item
}
index
=
{
index
}
index
=
{
index
}
navigate
=
{
this
.
props
.
navigation
.
navigate
}
navigate
=
{
this
.
props
.
navigate
}
/
>
/
>
)
)
}
}
...
...
This diff is collapsed.
Click to expand it.
components/menu.js
+
1
−
1
View file @
87ac1d6b
...
@@ -12,7 +12,7 @@ export default class Menu extends Component {
...
@@ -12,7 +12,7 @@ export default class Menu extends Component {
return
(
return
(
<
TouchableOpacity
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigate
(
componentName
)}
onPress
=
{()
=>
this
.
props
.
navigate
(
componentName
)}
style
=
{
{
alignItems
:
'
center
'
}
}
style
=
{
styles
.
menuItem
}
>
>
<
Icon
name
=
{
icon
}
{...
iconStyles
.
menuIcon
}
/
>
<
Icon
name
=
{
icon
}
{...
iconStyles
.
menuIcon
}
/
>
<
Text
style
=
{
styles
.
menuText
}
>
<
Text
style
=
{
styles
.
menuText
}
>
...
...
This diff is collapsed.
Click to expand it.
styles/index.js
+
5
−
2
View file @
87ac1d6b
...
@@ -103,12 +103,15 @@ export default StyleSheet.create({
...
@@ -103,12 +103,15 @@ export default StyleSheet.create({
},
},
menu
:
{
menu
:
{
backgroundColor
:
primaryColor
,
backgroundColor
:
primaryColor
,
paddingVertical
:
18
,
paddingHorizontal
:
10
,
alignItems
:
'
center
'
,
alignItems
:
'
center
'
,
justifyContent
:
'
space-between
'
,
justifyContent
:
'
space-between
'
,
flexDirection
:
'
row
'
,
flexDirection
:
'
row
'
,
},
},
menuItem
:
{
alignItems
:
'
center
'
,
flex
:
1
,
paddingVertical
:
15
},
menuText
:
{
menuText
:
{
color
:
fontOnPrimaryColor
color
:
fontOnPrimaryColor
},
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment