Skip to content
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

Fix StripeEditText's error color logic #989

Merged
merged 1 commit into from
May 24, 2019
Merged

Fix StripeEditText's error color logic #989

merged 1 commit into from
May 24, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

StripeEditText was not defaulting to mDefaultErrorColor
when mErrorColor was not set. Instead, it was using the
default value of mErrorColor, which is 0, which is
transparent.

Motivation

Fixes #971

Testing

Wrote unit test

`StripeEditText` was not defaulting to `mDefaultErrorColor`
when `mErrorColor` was not set. Instead, it was using the
default value of `mErrorColor`, which is 0, which is
transparent.

Fixes #971
@mshafrir-stripe mshafrir-stripe merged commit 29fe12f into master May 24, 2019
@mshafrir-stripe mshafrir-stripe deleted the fix-edit branch May 24, 2019 16:34
@eddiecrawford
Copy link

Sweet! Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StripeEditText view's text color going transparent
4 participants