You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reached out to the folks that built this screen. We apparently use this custom logic to make sure that the button stands out in light mode, as surface and component colors are usually the same in light mode. That being said, the button should obviously not turn pink like this.
Can you provide some more context about your usage? If you can provide a small sample app where the issue is reliably reproducible, that would be ideal. I’m trying to have this issue show up in our AddressElementExampleActivity, but I’m not seeing it.
Hey @kit0kat! We've implemented a fix here that will simply add a black or white background with low opacity to the "Enter address manually" button. This will visually emphasize the button without changing the color.
Hi,
I'm using the following appearance for my address sheet:
In dark mode this works fine:
In light mode the "Enter address manually" button is shown in pink, but not I'm not even using this color in my theme.
I found the follow code in the SDK:
Source: https://github.com/stripe/stripe-android/blob/ddc344ee2e80eb35f84b28a3bb3501377b9de840/paymentsheet/src/main/java/com/stripe/android/paymentsheet/addresselement/AutocompleteScreen.kt#L96C13-L100C14
This is very unexpected.
If a component color is set in the appearance configuration, why is it only applied in dark mode?
The text was updated successfully, but these errors were encountered: