mark popup complete functions as async

This commit is contained in:
Wolfsblvt 2024-07-30 21:45:19 +02:00
parent 379a4d1e4d
commit 7bb94732dd

View File

@ -511,14 +511,14 @@ export class Popup {
return this.#promise;
}
completeAffirmative() {
return this.complete(POPUP_RESULT.AFFIRMATIVE);
async completeAffirmative() {
return await this.complete(POPUP_RESULT.AFFIRMATIVE);
}
completeNegative() {
return this.complete(POPUP_RESULT.NEGATIVE);
async completeNegative() {
return await this.complete(POPUP_RESULT.NEGATIVE);
}
completeCancelled() {
return this.complete(POPUP_RESULT.CANCELLED);
async completeCancelled() {
return await this.complete(POPUP_RESULT.CANCELLED);
}
/**