Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
GMALKHA committed Dec 5, 2024
1 parent ba35d43 commit 5e2f5aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class PayPalWebViewModel: ObservableObject {
orderID: orderID,
payPalClientMetadataID: payPalClientMetadataID
)
setLoadingState(order: order)
setOrderCompletionLoadedState(order: order)
}
} catch {
setErrorState(message: error.localizedDescription)
Expand Down Expand Up @@ -204,7 +204,7 @@ class PayPalWebViewModel: ObservableObject {
}
}

private func setLoadingState(order: Order) {
private func setOrderCompletionLoadedState(order: Order) {
DispatchQueue.main.async {
switch self.intent {
case .authorize:
Expand Down

0 comments on commit 5e2f5aa

Please sign in to comment.