fix potential NullReferenceException

This commit is contained in:
Philipp Crocoll
2020-03-09 11:52:40 +01:00
parent 349f6c7c90
commit e667f4e89c

View File

@@ -269,8 +269,8 @@ namespace keepass2android
public void StopListening()
{
_biometricAuthCallbackAdapter.IgnoreNextError();
_biometricPrompt.CancelAuthentication();
_biometricAuthCallbackAdapter?.IgnoreNextError();
_biometricPrompt?.CancelAuthentication();
}
public bool HasUserInterface