remove async

This commit is contained in:
Kyle Spearrin 2019-09-19 23:12:49 -04:00
parent 21e3254219
commit 1fed3a2440
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export class PremiumComponent extends BasePremiumComponent {
}
const pricePromise = new Promise((resolve) => {
remote.inAppPurchase.getProducts([AppStorePremiumPlan], (products) => {
this.ngZone.run(async () => {
this.ngZone.run(() => {
if (products == null || !Array.isArray(products) || products.length === 0) {
return;
}