Describe the bug
Pulling down to refresh the Order Status list leaves no status selected and apply button unexpectedly active
To Reproduce
Steps to reproduce the behavior:
Screenshots

Expected behavior
I would have expected an order status to be selected after the refresh, probably the current order status, and the apply button to be disabled
Isolating the problem (mark completed items with an [x]):
Mobile Environment
WordPress Environment
WP 5.6.1
WC 4.9.2
Jetpack 9.4
Hey @pmusolino I just noticed https://github.com/woocommerce/woocommerce-ios/commit/2bdae450f42cc3ee0bef4c2b89b112f91294e5cf - what that the only expected behavior from pull to refresh? i.e. to basically revert to the order status (and not to fetch statuses)?
(See also #3609 - I'm guessing now that fetching newly added custom statuses wasn't the intention)
I'm proposing removing pull-to-refresh in the refactor in #3530 but I could restore it there or in a subsequent PR.
Hey @allendav. This was a fix introduced in this PR https://github.com/woocommerce/woocommerce-ios/pull/3493 But I also think that there is no reason here to have a pull-to-refresh. Probably it's useful just in the case there was an error fetching the initial order status?
@Garance91540 @pmusolino - what I'd like to do is move forward with pr #3530 (which has no refresh now) and then implement this issue and #3609 together so that a refresh re-fetches the order statuses list (and any newly added statuses) as well as re-fetches the current order status. Sound good?
Most helpful comment
@Garance91540 @pmusolino - what I'd like to do is move forward with pr #3530 (which has no refresh now) and then implement this issue and #3609 together so that a refresh re-fetches the order statuses list (and any newly added statuses) as well as re-fetches the current order status. Sound good?