Fix pagination on RoomsListView
This commit is contained in:
parent
a593129a3c
commit
cc5fe4c910
|
@ -883,8 +883,8 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
|
||||||
<RefreshControl refreshing={refreshing} onRefresh={this.onRefresh} tintColor={themes[theme].auxiliaryText} />
|
<RefreshControl refreshing={refreshing} onRefresh={this.onRefresh} tintColor={themes[theme].auxiliaryText} />
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
onEndReached={this.isGrouping ? this.onEndReached : undefined}
|
onEndReached={this.isGrouping ? undefined : this.onEndReached}
|
||||||
onEndReachedThreshold={this.isGrouping ? 0.5 : undefined}
|
onEndReachedThreshold={this.isGrouping ? undefined : 0.5}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue