public async void RetryAfterFail() { failedUnlocks++; entry.Text = string.Empty; entry.Placeholder = Localizer.Translate(UsePIN ? "InvalidPINTryAgain" : "InvalidPassphraseTryAgain"); entry.IsEnabled = false; await Task.Delay(ApplicationInfo.GetUnlockDelay(failedUnlocks)); entry.IsEnabled = true; entry.Focus(); }