Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
404e7514
Verified
Commit
404e7514
authored
Aug 29, 2018
by
Sébastiaan Versteeg
Browse files
Fix background of pizzas scrollview
parent
323bce51
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/ui/screens/pizza/PizzaScreen.js
View file @
404e7514
...
...
@@ -176,6 +176,7 @@ class PizzaScreen extends Component {
onRefresh
=
{
this
.
handleRefresh
}
/
>
)}
style
=
{
styles
.
scrollView
}
contentContainerStyle
=
{
styles
.
content
}
>
<
ErrorScreen
message
=
{
this
.
props
.
t
(
'
Sorry! We couldn
\'
t load any data.
'
)}
/
>
...
...
@@ -190,6 +191,7 @@ class PizzaScreen extends Component {
onRefresh
=
{
this
.
handleRefresh
}
/
>
)}
style
=
{
styles
.
scrollView
}
contentContainerStyle
=
{
styles
.
content
}
>
<
Text
...
...
@@ -226,6 +228,7 @@ class PizzaScreen extends Component {
/
>
)}
ref
=
{(
ref
)
=>
{
this
.
pizzaScroll
=
ref
;
}}
style
=
{
styles
.
scrollView
}
>
<
View
style
=
{
styles
.
content
}
>
{
this
.
getEventInfo
(
subtitle
)}
...
...
app/ui/screens/pizza/style/PizzaScreen.js
View file @
404e7514
...
...
@@ -2,6 +2,10 @@ import Colors from '../../../style/Colors';
import
StyleSheet
from
'
../../../style/StyleSheet
'
;
const
styles
=
StyleSheet
.
create
({
scrollView
:
{
flex
:
1
,
backgroundColor
:
Colors
.
background
,
},
content
:
{
flex
:
1
,
padding
:
8
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment