From 627395a7aae4a978d81d8b7b4b78ef30756727e2 Mon Sep 17 00:00:00 2001 From: zakialvi-e64 Date: Thu, 7 Dec 2023 12:32:39 +0500 Subject: [PATCH] [SWIF-264] [executePendingCommand method added for commandSignIn] --- src/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.ts b/src/main.ts index ae46e34..1a73f7d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -453,6 +453,12 @@ export default class Transcription extends Plugin { } + // Execute the pending command if there is one + if (this.pendingCommand) { + await this.executePendingCommand(this.pendingCommand); + this.pendingCommand = null; // Reset pending command after execution + } + return; }, );