-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[NT-557] Hide "Other payment methods" label when Apple Pay button is hidden #940
Conversation
Holding on this based on our Slack convo. |
…NT-557-hide-cards-header # Conflicts: # Kickstarter-iOS/Views/Controllers/PledgePaymentMethodsViewController.swift
…NT-557-hide-cards-header
@@ -95,10 +96,14 @@ final class PledgePaymentMethodsViewController: UIViewController { | |||
|> checkoutBackgroundStyle | |||
|
|||
_ = self.rootStackView | |||
|> rootStackViewStyle | |||
|> verticalStackViewStyle |
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.
Not sure what the point of this style is, I see we've had it for a while but it just sets the axis to vertical 🤷♂
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.
Ask @dusi 😆
|> \.isLayoutMarginsRelativeArrangement .~ true | ||
|> \.layoutMargins .~ UIEdgeInsets(leftRight: CheckoutConstants.PledgeView.Inset.leftRight) | ||
|> \.layoutMargins .~ .init(leftRight: Styles.grid(4)) |
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.
What this 4
before?
…NT-557-hide-cards-header
…rter/ios-oss into NT-557-hide-cards-header
📲 What
Hides the "Other payment methods" label above stored cards when the Apple Pay button is hidden.
🤔 Why
It's a bit strange to say "Other" payment methods when there is only one type of payment method available to the user.
🛠 How
Hiding the label when the Apple Pay button is hidden.
👀 See
Trello, screenshots, external resources?
♿️ Accessibility
N/A
🏎 Performance
N/A
✅ Acceptance criteria