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 Google Pay button padding issues #6992

Merged
merged 5 commits into from
Jul 12, 2023

Conversation

tillh-stripe
Copy link
Collaborator

@tillh-stripe tillh-stripe commented Jul 12, 2023

Summary

This pull request fixes an issue where incorrect padding was applied to the Google Pay button.

Motivation

Resolves #6940

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

[Fixed] Fixed an issue where incorrect padding was set on the Google Pay button.

@tillh-stripe tillh-stripe force-pushed the tillh/google-pay-button-padding branch from b11a0b4 to 83bb886 Compare July 12, 2023 18:22
@tillh-stripe tillh-stripe marked this pull request as ready for review July 12, 2023 18:24
@tillh-stripe tillh-stripe requested review from a team as code owners July 12, 2023 18:24
@@ -163,6 +164,8 @@ internal fun Wallet(
}

state.link?.let { link ->
Spacer(modifier = Modifier.requiredHeight(8.dp))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mess up if google pay is not enabled?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, it would. Will do a quick fix now and then revisit when we’re taking a more systematic approach to enforcing consistent spacing.

@tillh-stripe tillh-stripe enabled auto-merge (squash) July 12, 2023 20:41
@tillh-stripe tillh-stripe merged commit bfb8221 into master Jul 12, 2023
6 checks passed
@tillh-stripe tillh-stripe deleted the tillh/google-pay-button-padding branch July 12, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] GooglePay button horizontal padding not matching rest of the content
2 participants