When props.refreshing is undefined refreshControl shouldn't be be injected.
Right now patchFlatListProps changes the behavior of FlatLists which aren't supposed to have a refreshControl. It also causes some type warnings to be thrown in development.
https://snack.expo.dev/wcIw8L47u