1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

remove async

This commit is contained in:
Kyle Spearrin 2019-09-19 23:12:49 -04:00
parent 21e3254219
commit 1fed3a2440

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;
}