File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ var propTypes = {
81
81
} ;
82
82
83
83
var CameraRollView = React . createClass ( {
84
+ // $FlowFixMe(>=0.41.0)
84
85
propTypes : propTypes ,
85
86
86
87
getDefaultProps : function ( ) : Object {
@@ -123,6 +124,7 @@ var CameraRollView = React.createClass({
123
124
rendererChanged : function ( ) {
124
125
var ds = new ListView . DataSource ( { rowHasChanged : this . _rowHasChanged } ) ;
125
126
this . state . dataSource = ds . cloneWithRows (
127
+ // $FlowFixMe(>=0.41.0)
126
128
groupByEveryN ( this . state . assets , this . props . imagesPerRow )
127
129
) ;
128
130
} ,
@@ -209,6 +211,7 @@ var CameraRollView = React.createClass({
209
211
if ( image === null ) {
210
212
return null ;
211
213
}
214
+ // $FlowFixMe(>=0.41.0)
212
215
return this . props . renderImage ( image ) ;
213
216
} ) ;
214
217
@@ -231,6 +234,7 @@ var CameraRollView = React.createClass({
231
234
newState . lastCursor = data . page_info . end_cursor ;
232
235
newState . assets = this . state . assets . concat ( assets ) ;
233
236
newState . dataSource = this . state . dataSource . cloneWithRows (
237
+ // $FlowFixMe(>=0.41.0)
234
238
groupByEveryN ( newState . assets , this . props . imagesPerRow )
235
239
) ;
236
240
}
You can’t perform that action at this time.
0 commit comments