Skip to content

Commit ec9818d

Browse files
committed
Safer
1 parent 938f193 commit ec9818d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/react_native/biometrics.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
(.then (fn [result]
6868
(oops/oget result :success)))
6969
(.catch (fn [error]
70-
(if (and (not ignore-too-many-attempts?)
70+
(if (and platform/android?
71+
(not ignore-too-many-attempts?)
7172
(= (.-message error) android-too-many-attempts-error-message))
7273
(on-max-attempts-reached)
7374
(-> (.-message error)

0 commit comments

Comments
 (0)