mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-12 01:48:21 +02:00
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
Block a user