Fix invoice callback

This commit is contained in:
Ilya Laktyushin
2022-08-15 13:59:45 +03:00
parent 24be14be56
commit 24fb254948
3 changed files with 13 additions and 10 deletions

View File

@@ -1299,8 +1299,8 @@ final class BotCheckoutControllerNode: ItemListControllerNode, PKPaymentAuthoriz
}
if success {
strongSelf.dismissAnimated()
strongSelf.completed(currencyValue, receiptMessageId)
strongSelf.dismissAnimated()
} else {
strongSelf.dismissAnimated()
}