Request in-app inventory while showing banner

This commit is contained in:
crimean 2018-12-25 18:46:30 +03:00
parent 65992fafea
commit 52019817dd

View file

@ -201,6 +201,10 @@ public class DiscountHelper {
if (showChristmasDialog) {
mapActivity.showXMasDialog();
} else {
InAppPurchaseHelper purchaseHelper = mapActivity.getPurchaseHelper();
if (purchaseHelper != null) {
purchaseHelper.requestInventory();
}
showDiscountBanner(mapActivity, data);
}
}