This repository was archived by the owner on Jan 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -132,25 +132,23 @@ class MessageList extends Component {
132
132
render ( ) {
133
133
const { pending, didFocus, getMessageList} = this . props ;
134
134
return (
135
- < View style = { [ { width :width , height :height - 40 } , { backgroundColor :'white' } ] } >
136
- < ListView
137
- enableEmptySections
138
- showsVerticalScrollIndicator = { true }
139
- initialListSize = { 10 }
140
- pagingEnabled = { false }
141
- removeClippedSubviews = { true }
142
- dataSource = { this . state . ds }
143
- renderRow = { this . _renderRow . bind ( this ) }
144
- renderHeader = { this . _renderHeader . bind ( this ) }
145
- refreshControl = {
135
+ < ListView
136
+ enableEmptySections
137
+ showsVerticalScrollIndicator = { true }
138
+ initialListSize = { 10 }
139
+ pagingEnabled = { false }
140
+ removeClippedSubviews = { true }
141
+ dataSource = { this . state . ds }
142
+ renderRow = { this . _renderRow . bind ( this ) }
143
+ renderHeader = { this . _renderHeader . bind ( this ) }
144
+ refreshControl = {
146
145
< RefreshControl
147
146
refreshing = { pending || ! didFocus }
148
147
onRefresh = { ( ) => { getMessageList ( ) } }
149
148
{ ...Constants . refreshControl }
150
149
/>
151
150
}
152
- />
153
- </ View >
151
+ />
154
152
)
155
153
}
156
154
}
You can’t perform that action at this time.
0 commit comments