woocommerce-android
woocommerce-android copied to clipboard
7373 replace menu calls create order
Closes: #7372 Closes: #7373
Description
Replaces deprecated menu calls:
- OrderCreateEditFormFragment
- OrderCreateEditCustomerAddFragment
Testing instructions
- Open an order
- Click
edit - Notice that menu buttons are the same and they are working
- Click
add customer - Notice that menu buttons are the same and they are working
- [x] I have considered if this change warrants user-facing release notes and have added them to
RELEASE-NOTES.txtif necessary.
You can test the changes on this Pull Request by downloading an installable build, or scanning this QR code:
@kidinov just a nitpick comment, it might be a misunderstanding from my remark in Slack 🙂.
I think we should return false from the onMenuItemSelected when the item is not relevant to us instead of returning super.onOptionsItemSelected(item) (like here), as when we do so we are still calling a deprecated function, and it triggers a warning.
@hichamboushaba thanks for noticing! I missed that invocation. Fixed now
Sorry for the long wait time! I was mostly AFK due to meetups and such. Checking now.