Skip to content

Commit

Permalink
Remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe committed Jan 16, 2025
1 parent b06e360 commit 4314eaf
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ final class FormHeaderView: UIView {
private let paymentMethodType: PaymentSheet.PaymentMethodType
private let shouldUseNewCardHeader: Bool // true if the customer has a saved payment method that is type card
private let appearance: PaymentSheet.Appearance
private var incentive: PaymentMethodIncentive?

init(
paymentMethodType: PaymentSheet.PaymentMethodType,
Expand All @@ -75,7 +74,6 @@ final class FormHeaderView: UIView {
self.paymentMethodType = paymentMethodType
self.shouldUseNewCardHeader = shouldUseNewCardHeader
self.appearance = appearance
self.incentive = incentive
self.promoBadgeView = Self.makePromoBadge(for: incentive, with: appearance)
super.init(frame: .zero)
addAndPinSubview(stackView)
Expand Down

0 comments on commit 4314eaf

Please sign in to comment.