From 1fed3a24404ced322f0e21729ce423b8b3601904 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 19 Sep 2019 23:12:49 -0400 Subject: [PATCH] remove async --- src/app/accounts/premium.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/accounts/premium.component.ts b/src/app/accounts/premium.component.ts index 062438c6d7..39a7836afa 100644 --- a/src/app/accounts/premium.component.ts +++ b/src/app/accounts/premium.component.ts @@ -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; }