Skip to content

Commit 1982e54

Browse files
authored
remove CaseIterable conformance to demo app button extensions (#305)
1 parent c8c0ddf commit 1982e54

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Demo/Demo/Extensions/PaymentButtonEnums+Extension.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extension PayPalPayLaterButton.Color {
1111
}
1212
}
1313

14-
extension PayPalButton.Color: CaseIterable {
14+
extension PayPalButton.Color {
1515

1616
public static var allCases: [PayPalButton.Color] {
1717
[.gold, .white, .black, .silver, .blue]
@@ -22,7 +22,7 @@ extension PayPalButton.Color: CaseIterable {
2222
}
2323
}
2424

25-
extension PayPalCreditButton.Color: CaseIterable {
25+
extension PayPalCreditButton.Color {
2626

2727
public static var allCases: [PayPalCreditButton.Color] {
2828
[.white, .black, .darkBlue]
@@ -33,7 +33,7 @@ extension PayPalCreditButton.Color: CaseIterable {
3333
}
3434
}
3535

36-
extension PaymentButtonEdges: CaseIterable {
36+
extension PaymentButtonEdges {
3737

3838
public static var allCases: [PaymentButtonEdges] {
3939
[.hardEdges, .softEdges, .rounded, .custom(10)]
@@ -44,7 +44,7 @@ extension PaymentButtonEdges: CaseIterable {
4444
}
4545
}
4646

47-
extension PaymentButtonSize: CaseIterable {
47+
extension PaymentButtonSize {
4848

4949
public static var allCases: [PaymentButtonSize] {
5050
[.mini, .collapsed, .expanded, .full]
@@ -55,7 +55,7 @@ extension PaymentButtonSize: CaseIterable {
5555
}
5656
}
5757

58-
extension PaymentButtonFundingSource: CaseIterable {
58+
extension PaymentButtonFundingSource {
5959

6060
public static var allCases: [PaymentButtonFundingSource] {
6161
[.payPal, .payLater, .credit]
@@ -66,8 +66,8 @@ extension PaymentButtonFundingSource: CaseIterable {
6666
}
6767
}
6868

69-
extension PayPalButton.Label: CaseIterable {
70-
69+
extension PayPalButton.Label {
70+
7171
public static var allCases: [PayPalButton.Label] {
7272
[.none, .checkout, .buyNow, .payWith]
7373
}

0 commit comments

Comments
 (0)