Example #1
0
 private async void Fingerprint_Clicked(object sender, EventArgs e)
 {
     if (DoOnce())
     {
         await _vm.PromptFingerprintAsync();
     }
 }
Example #2
0
        public async Task PromptFingerprintAfterResumeAsync()
        {
            if (_vm.FingerprintLock)
            {
                await Task.Delay(500);

                if (!_promptedAfterResume)
                {
                    _promptedAfterResume = true;
                    await _vm?.PromptFingerprintAsync();
                }
            }
        }