Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 3d724c8

Browse files
authored
[local_auth] Fix incorrect switch fallthrough
1 parent 16f3281 commit 3d724c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/local_auth/android/src/main/java/io/flutter/plugins/localauth/AuthenticationHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public void onAuthenticationError(int errorCode, CharSequence errString) {
138138
return;
139139
}
140140
completionHandler.onError("NotAvailable", "Security credentials not available.");
141+
break;
141142
case BiometricPrompt.ERROR_NO_SPACE:
142143
case BiometricPrompt.ERROR_NO_BIOMETRICS:
143144
if (promptInfo.isDeviceCredentialAllowed()) return;

0 commit comments

Comments
 (0)