Changed timeout for "Key was successfully changed" message

This commit is contained in:
Alexander 2019-10-15 19:54:55 +03:00
parent 9c44976c44
commit 71dad53ea5

View file

@ -26,7 +26,7 @@ private async void AcceptButton_Click(object sender, EventArgs e)
statusLabel.Text = "Key was successfully changed";
oldKeyTextBox.Text = "";
newKeyTextBox.Text = "";
await Task.Delay(2000);
await Task.Delay(3000);
statusLabel.Text = "";
}
else if (oldKeyTextBox.Text != PublicVar.encryptionKey.Get())