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 {
132132 render ( ) {
133133 const { pending, didFocus, getMessageList} = this . props ;
134134 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 = {
146145 < RefreshControl
147146 refreshing = { pending || ! didFocus }
148147 onRefresh = { ( ) => { getMessageList ( ) } }
149148 { ...Constants . refreshControl }
150149 />
151150 }
152- />
153- </ View >
151+ />
154152 )
155153 }
156154}
You can’t perform that action at this time.
0 commit comments