google-pay / compose-pay-button

An Android library that provides a Jetpack Compose wrapper on top of the Google Pay Button API.
Apache License 2.0
29 stars 1 forks source link

When the button is first drawn it has a double height top line #86

Open barry-irvine opened 1 month ago

barry-irvine commented 1 month ago

When the button is first being initialised (before the card number is added etc). it has a weird double line artifact at the top.

I'm using version 1.0.0

image

dmengelt commented 1 month ago

@barry-irvine This is supposed to be a loading indicator 😉

google-pay-button-loading-indicator

barry-irvine commented 1 month ago

Yeah, I've just realised it's the LinearProgressIndicator when in dark mode! Although I think if the rest of the animations had been as smooth as above then it would have been better anyway. How are yours so smooth?! (or is it just because it's slowed down?)