File tree 2 files changed +17
-9
lines changed
2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -146,11 +146,11 @@ const dbjabReducer = (state = INITIAL_STATE, action) => {
146
146
[
147
147
{
148
148
title : 'On Now' ,
149
- eventList : [ { key :1 , gigDetails : 'Problems retrieving gig info, please try again!' } ]
149
+ data : [ { key :1 , gigDetails : 'Problems retrieving gig info, please try again!' } ]
150
150
} ,
151
151
{
152
152
title : 'Up Next' ,
153
- eventList : [ { key :1 , gigDetails : 'Problems retrieving gig info, please try again!' } ]
153
+ data : [ { key :2 , gigDetails : 'Problems retrieving gig info, please try again!' } ]
154
154
}
155
155
]
156
156
}
Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ class HomeScreen extends React.Component {
93
93
stickySectionHeadersEnabled = { true }
94
94
renderSectionHeader = { ( { section} ) => {
95
95
return (
96
- < View >
96
+ < View style = { styles . sectionHeader } >
97
97
< Text style = { styles . homePageSectionTitles } > { section . title } </ Text >
98
98
</ View >
99
99
)
100
100
} }
101
101
renderItem = { ( { item} ) => {
102
102
return (
103
- < View style = { styles . OnNoworOnNext } >
104
103
< ListItem
104
+ containerStyle = { styles . lessPadding }
105
105
leftIcon = { {
106
106
type : 'ionicon' ,
107
107
name : Platform . OS === 'ios' ? 'ios-microphone' : 'md-microphone' ,
@@ -110,7 +110,6 @@ class HomeScreen extends React.Component {
110
110
title = { item . gigDetails }
111
111
titleStyle = { styles . OnNoworOnNext }
112
112
/>
113
- </ View >
114
113
)
115
114
} } />
116
115
</ View >
@@ -151,9 +150,11 @@ const styles = StyleSheet.create({
151
150
} ,
152
151
homePageSectionTitles : {
153
152
color : '#1D6292' ,
153
+ fontSize : 20 ,
154
+ fontWeight : 'bold' ,
154
155
marginTop : 5 ,
155
- padding : 3 ,
156
- fontSize : 18
156
+ marginBottom : 5 ,
157
+ marginLeft : 10
157
158
} ,
158
159
OnNoworOnNext : {
159
160
color : '#1D6292' ,
@@ -162,8 +163,15 @@ const styles = StyleSheet.create({
162
163
flex : 1 ,
163
164
marginTop : 15
164
165
} ,
165
- eventsOnNowStyle : {
166
- height : 200
166
+ sectionHeader : {
167
+ backgroundColor : '#F0AE1A' ,
168
+ borderStyle : 'solid' ,
169
+ borderWidth : 1 ,
170
+ borderColor : '#1D6292'
171
+ } ,
172
+ lessPadding : {
173
+ paddingTop : 5 ,
174
+ paddingBottom : 5
167
175
}
168
176
} ) ;
169
177
You can’t perform that action at this time.
0 commit comments