Fix pagination on RoomsListView

This commit is contained in:
Diego Mello 2022-11-29 17:24:27 -03:00
parent a593129a3c
commit cc5fe4c910
1 changed files with 2 additions and 2 deletions

View File

@ -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>
); );