mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01: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) => {
|
const pricePromise = new Promise((resolve) => {
|
||||||
remote.inAppPurchase.getProducts([AppStorePremiumPlan], (products) => {
|
remote.inAppPurchase.getProducts([AppStorePremiumPlan], (products) => {
|
||||||
this.ngZone.run(async () => {
|
this.ngZone.run(() => {
|
||||||
if (products == null || !Array.isArray(products) || products.length === 0) {
|
if (products == null || !Array.isArray(products) || products.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user