Skip to content

Commit

Permalink
add errordesc back on cashapp error
Browse files Browse the repository at this point in the history
  • Loading branch information
erenbesel committed Jan 3, 2025
1 parent 7a0f63b commit deeaf26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AdyenCashAppPay/CashAppPayComponent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ extension CashAppPayComponent {
/// Payment was declined by the Cash App Pay app.
case declined

public var errorDescription: String? { localizedDescription }

public var localizedDescription: String? {
switch self {
case .noGrant:
Expand Down

0 comments on commit deeaf26

Please sign in to comment.