remove async
This commit is contained in:
parent
21e3254219
commit
1fed3a2440
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue