mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various UI fixes
This commit is contained in:
@@ -838,7 +838,7 @@ final class BotCheckoutControllerNode: ItemListControllerNode<BotCheckoutEntry>,
|
||||
}
|
||||
|
||||
if let shippingOptions = strongSelf.currentValidatedFormInfo?.shippingOptions, let shippingOptionId = strongSelf.currentShippingOptionId {
|
||||
if let shippingOptionIndex = shippingOptions.index(where: { $0.id == shippingOptionId }) {
|
||||
if let shippingOptionIndex = shippingOptions.firstIndex(where: { $0.id == shippingOptionId }) {
|
||||
for price in shippingOptions[shippingOptionIndex].prices {
|
||||
totalAmount += price.amount
|
||||
|
||||
|
||||
Reference in New Issue
Block a user