mark popup complete functions as async
| @@ -511,14 +511,14 @@ export class Popup { | ||
| 511 | 511 | |
| 512 | 512 | return this.#promise; |
| 513 | 513 | } |
| 514 | 514 | async completeAffirmative() { |
| 515 | 515 | return await this.complete(POPUP_RESULT.AFFIRMATIVE); |
| 516 | 516 | } |
| 517 | 517 | async completeNegative() { |
| 518 | 518 | return await this.complete(POPUP_RESULT.NEGATIVE); |
| 519 | 519 | } |
| 520 | 520 | async completeCancelled() { |
| 521 | 521 | return await this.complete(POPUP_RESULT.CANCELLED); |
| 522 | 522 | } |
| 523 | 523 | |
| 524 | 524 | /** |