diff --git a/iphone/Maps/Core/InappPurchase/Impl/PaidRoutePurchase.swift b/iphone/Maps/Core/InappPurchase/Impl/PaidRoutePurchase.swift index ee7c1e0a9a..4e44afbb05 100644 --- a/iphone/Maps/Core/InappPurchase/Impl/PaidRoutePurchase.swift +++ b/iphone/Maps/Core/InappPurchase/Impl/PaidRoutePurchase.swift @@ -34,7 +34,7 @@ final class PaidRoutePurchase: NSObject, IPaidRoutePurchase { func requestStoreProduct(_ completion: @escaping StoreProductCompletion) { billing.requestProducts([productId]) { [weak self] (products, error) in - guard let product = products?[0] else { + guard let product = products?.first else { completion(nil, error) return }