Skip to content

Commit

Permalink
Show success alert when making purchase from out of time
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Petersson authored and buggmagnet committed Nov 15, 2023
1 parent c81872b commit 035040d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ class OutOfTimeViewController: UIViewController, RootContainment {
payment == event.payment else { return }

switch event {
case .finished:
break
case let .finished(completion):
errorPresenter.showAlertForResponse(completion.serverResponse, context: .purchase)

case let .failure(paymentFailure):
switch paymentFailure.error {
Expand Down

0 comments on commit 035040d

Please sign in to comment.