更正v1.3

This commit is contained in:
bluesea 2024-04-03 19:35:05 +08:00
parent af1d9644a7
commit 31cc0aea96
3 changed files with 15 additions and 12 deletions

View File

@ -659,10 +659,10 @@
filePath = "SwiftProject/CCKit/SKUPay/SKUPay.swift" filePath = "SwiftProject/CCKit/SKUPay/SKUPay.swift"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "182" startingLineNumber = "185"
endingLineNumber = "182" endingLineNumber = "185"
landmarkName = "paymentQueueRestoreCompletedTransactionsFinished(_:)" landmarkName = "SKUPay"
landmarkType = "7"> landmarkType = "3">
</BreakpointContent> </BreakpointContent>
</BreakpointProxy> </BreakpointProxy>
<BreakpointProxy <BreakpointProxy
@ -675,8 +675,8 @@
filePath = "SwiftProject/CCKit/SKUPay/SKUPay.swift" filePath = "SwiftProject/CCKit/SKUPay/SKUPay.swift"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "149" startingLineNumber = "152"
endingLineNumber = "149" endingLineNumber = "152"
landmarkName = "paymentQueue(_:updatedTransactions:)" landmarkName = "paymentQueue(_:updatedTransactions:)"
landmarkType = "7"> landmarkType = "7">
</BreakpointContent> </BreakpointContent>

View File

@ -110,12 +110,15 @@ class SKUPay:NSObject, SKRequestDelegate,SKProductsRequestDelegate,SKPaymentTran
//... //...
func showToast(value:Bool) { func showToast(value:Bool) {
if value { DispatchQueue.main.async {
SVProgressHUD.show(withStatus: NSLocalizedString("支付中...", comment: "")) if value {
} SVProgressHUD.show(withStatus: NSLocalizedString("支付中...", comment: ""))
else { }
SVProgressHUD.dismiss() else {
SVProgressHUD.dismiss()
}
} }
} }
@ -157,7 +160,7 @@ class SKUPay:NSObject, SKRequestDelegate,SKProductsRequestDelegate,SKPaymentTran
print("updatedTransactions ..\(spt)") print("updatedTransactions ..\(spt)")
} }
} }
showToast(value: false)
print("updatedTransactions ..") print("updatedTransactions ..")
} }