Skip to content

Commit b26c950

Browse files
authored
Merge pull request #3 from ethanhuang13/patch-2
Update SKPayment+Promise.swift
2 parents a4873a0 + 2e63163 commit b26c950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SKPayment+Promise.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private class PaymentObserver: NSObject, SKPaymentTransactionObserver {
2727
return
2828
}
2929
switch transaction.transactionState {
30-
case .purchased:
30+
case .purchased, .restored:
3131
queue.finishTransaction(transaction)
3232
seal.fulfill(transaction)
3333
queue.remove(self)

0 commit comments

Comments
 (0)