From e357833a12f45443a221a72ff7a08a154fd287eb Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 26 Mar 2020 13:58:37 +0000 Subject: [PATCH] iOS: Support older SDKs --- .../juce_product_unlocking/native/juce_ios_InAppPurchases.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_product_unlocking/native/juce_ios_InAppPurchases.cpp b/modules/juce_product_unlocking/native/juce_ios_InAppPurchases.cpp index 0ccbb261be..1bf303e243 100644 --- a/modules/juce_product_unlocking/native/juce_ios_InAppPurchases.cpp +++ b/modules/juce_product_unlocking/native/juce_ios_InAppPurchases.cpp @@ -109,7 +109,7 @@ struct InAppPurchases::Pimpl : public SKDelegateAndPaymentObserver String getContentVersion() const override { return nsStringToJuce (download.contentVersion); } #if JUCE_IOS - int64 getContentLength() const override { return download.expectedContentLength; } + int64 getContentLength() const override { return download.contentLength; } Status getStatus() const override { return SKDownloadStateToDownloadStatus (download.downloadState); } #else int64 getContentLength() const override { return download.expectedContentLength; }