From 259fa54236f993fd06f79a9bdbd43dc812cb83ec Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Tue, 3 Nov 2020 23:52:35 +0100 Subject: [PATCH] Update ModalDialog.cs - Adding await keyword --- TelegramBotBase/Form/ModalDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TelegramBotBase/Form/ModalDialog.cs b/TelegramBotBase/Form/ModalDialog.cs index b20335c..a3c8faa 100644 --- a/TelegramBotBase/Form/ModalDialog.cs +++ b/TelegramBotBase/Form/ModalDialog.cs @@ -22,7 +22,7 @@ namespace TelegramBotBase.Form await this.OnClosed(new EventArgs()); - this.ParentForm?.ReturnFromModal(this); + await this.ParentForm?.ReturnFromModal(this); } } }