-
Notifications
You must be signed in to change notification settings - Fork 132
[Payment Method Improvements] Gray out button until payment amount is greater or equal to amount due #11606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…gray-out-button-until-payment-amount
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
# Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/changeduecalculator/ChangeDueCalculatorScreen.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/payments/changeduecalculator/ChangeDueCalculatorViewModel.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've done some changes to the code (moved the state into state object and some other stuff)
Please feel free to revert them if they don't make much sense
Thanks a lot. I see |
Closes: #11604
This PR is branched off of #11594
Description
Gray out "Mark order as complete" button:
Display correct currency symbol in change due field:
Testing instructions
Enable
OTHER_PAYMENT_METHODS
Gray out button test:
Currency symbol in change due field test:
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.