Skip to content

Commit

Permalink
chore(rn): stream pagination algo update
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Jul 3, 2019
1 parent 8650e6e commit 10faa25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/react-native/app/view/component/OptimizedFlatList.js
@@ -1,10 +1,10 @@
import React, { PureComponent } from 'react'
import React, { Component } from 'react'
import { FlatList as NavFlatList } from 'react-navigation'
import { FlatList as NatFlatList, Platform } from 'react-native'

const FlatList = Platform.OS === 'web' ? NatFlatList : NavFlatList

export class OptimizedFlatList extends PureComponent {
export class OptimizedFlatList extends Component {
lastIndex = null

onRefresh = () => {
Expand Down

0 comments on commit 10faa25

Please sign in to comment.