- Updating NavigateTo to set PreviousForm now correctly

This commit is contained in:
FlorianDahn 2019-06-26 12:48:25 +02:00
parent 52c01b3dfd
commit e13cb6d4ef

View File

@ -119,12 +119,12 @@ namespace TelegramBotBase.Form
ds.FormSwitched = true;
ds.PreviousForm = ds.ActiveForm;
ds.ActiveForm = newForm;
newForm.Client = this.Client;
newForm.Device = ds;
ds.PreviousForm = this;
await newForm.Init(args);
await this.Closed();