Skip to content

Commit

Permalink
fixed retries logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed Apr 8, 2021
1 parent 3965cf0 commit acc219a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlatList.android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default (React.forwardRef(
* in case view is not ready yet. In that case, lets do a retry!!
*/
if (enableMvcpRetries.current < 10) {
setTimeout(enableMvcp, 10);
setTimeout(enableMvcpWithRetries, 10);
enableMvcpRetries.current += 1;
}
});
Expand Down

0 comments on commit acc219a

Please sign in to comment.