From 38ae9307e2db9a2be56cbe0208b5eab063278f85 Mon Sep 17 00:00:00 2001 From: Damian Mehers Date: Wed, 11 Dec 2019 18:59:05 +0100 Subject: [PATCH] Fix typo in example Example did not compile because a return statement didn't return a value. --- docs/CheckAndRestorePurchases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CheckAndRestorePurchases.md b/docs/CheckAndRestorePurchases.md index 3ffb683..1942d8a 100644 --- a/docs/CheckAndRestorePurchases.md +++ b/docs/CheckAndRestorePurchases.md @@ -27,7 +27,7 @@ public async Task WasItemPurchased(string productId) if (!connected) { //Couldn't connect - return; + return false; } //check purchases @@ -66,4 +66,4 @@ public async Task WasItemPurchased(string productId) Learn more about `IInAppBillingVerifyPurchase` in the [Securing Purchases](SecuringPurchases.md) documentation. -<= Back to [Table of Contents](README.md) \ No newline at end of file +<= Back to [Table of Contents](README.md)