void UpdateButtons() { // set whether the user already has purchased these products if (HostedProductManager.HasPurchased(hostedImagesProductId)) { hostedImagesButton.Enabled = true; hostedImagesButton.SetTitle("Read Images Chapter", UIControlState.Normal); hostedImagesPurchased = true; } if (HostedProductManager.HasPurchased(hostedFilesystemProductId)) { hostedFilesystemButton.Enabled = true; hostedFilesystemButton.SetTitle("Read FileSystem Chapter ", UIControlState.Normal); hostedFilesystemPurchased = true; } }
void UpdateButtons() { // set whether the user already has purchased these products if (HostedProductManager.HasPurchased(oldeStyleProductId)) { oldStyleButton.Enabled = true; oldStyleButton.SetTitle("Read Images Chapter", UIControlState.Normal); oldeStylePurchased = true; } if (HostedProductManager.HasPurchased(eightBitProductId)) { eightBitButton.Enabled = true; eightBitButton.SetTitle("Read FileSystem Chapter ", UIControlState.Normal); eightBitPurchased = true; } }