Skip to content

Commit

Permalink
remove CaseIterable conformance to demo app button extensions (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark authored Nov 26, 2024
1 parent c8c0ddf commit 1982e54
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Demo/Demo/Extensions/PaymentButtonEnums+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extension PayPalPayLaterButton.Color {
}
}

extension PayPalButton.Color: CaseIterable {
extension PayPalButton.Color {

public static var allCases: [PayPalButton.Color] {
[.gold, .white, .black, .silver, .blue]
Expand All @@ -22,7 +22,7 @@ extension PayPalButton.Color: CaseIterable {
}
}

extension PayPalCreditButton.Color: CaseIterable {
extension PayPalCreditButton.Color {

public static var allCases: [PayPalCreditButton.Color] {
[.white, .black, .darkBlue]
Expand All @@ -33,7 +33,7 @@ extension PayPalCreditButton.Color: CaseIterable {
}
}

extension PaymentButtonEdges: CaseIterable {
extension PaymentButtonEdges {

public static var allCases: [PaymentButtonEdges] {
[.hardEdges, .softEdges, .rounded, .custom(10)]
Expand All @@ -44,7 +44,7 @@ extension PaymentButtonEdges: CaseIterable {
}
}

extension PaymentButtonSize: CaseIterable {
extension PaymentButtonSize {

public static var allCases: [PaymentButtonSize] {
[.mini, .collapsed, .expanded, .full]
Expand All @@ -55,7 +55,7 @@ extension PaymentButtonSize: CaseIterable {
}
}

extension PaymentButtonFundingSource: CaseIterable {
extension PaymentButtonFundingSource {

public static var allCases: [PaymentButtonFundingSource] {
[.payPal, .payLater, .credit]
Expand All @@ -66,8 +66,8 @@ extension PaymentButtonFundingSource: CaseIterable {
}
}

extension PayPalButton.Label: CaseIterable {
extension PayPalButton.Label {

public static var allCases: [PayPalButton.Label] {
[.none, .checkout, .buyNow, .payWith]
}
Expand Down

0 comments on commit 1982e54

Please sign in to comment.