Esempio n. 1
0
        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();
        }