1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

iOS: Support older SDKs

This commit is contained in:
reuk 2020-03-26 13:58:37 +00:00
parent dde6b96ebe
commit e357833a12

View file

@ -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; }