woocommerce-ios
woocommerce-ios copied to clipboard
[Mobile Payments] Hide IPP Settings
Closes: #7363
Description
With this PR we hide the IPP Settings if the "payments in hub menu" feature flag is enabled. The reason behind is that we already have the settings in the newly added Menu section "Payments", so we do not need it to be duplicated. We also have a future task to remove the feature flag and the code behind that: https://github.com/woocommerce/woocommerce-ios/issues/7367. Within the scope of this one we will remove the non-necessary code.
Testing instructions
You can enable/disable the paymentsHubMenuSection feature flag in this line
Feature Flag enabled
- Go to Menu
- Tap on Settings Action
- In-Person Payments row should not be visible
![](https://user-images.githubusercontent.com/1864060/183931593-7cd2418e-34f6-487c-aaec-77b448c30dba.png)
Feature Flag disabled
- Go to Menu
- Tap on Settings Action
- In-Person Payments row should be visible
![](https://user-images.githubusercontent.com/1864060/183932049-d728e115-a18d-4d4c-8648-560ffa123d39.png)
Screenshots
See above
- [X] I have considered if this change warrants user-facing release notes and have added them to
RELEASE-NOTES.txt
if necessary.
You can test the changes from this Pull Request by:
- Clicking here or scanning the QR code below to access App Center
- Then installing the build number
pr7450-5bb962a
on your iPhone