standardsats / valet

Bitcoin + Lightning wallet for Android
https://standardsats.github.io
Apache License 2.0
17 stars 2 forks source link

Crash on checking on "use fingerprint" #3

Closed NCrashed closed 2 years ago

NCrashed commented 2 years ago
java.lang.IllegalArgumentException: Negative text must be set and non-empty.
 at androidx.biometric.BiometricPrompt$PromptInfo$Builder.build(BiometricPrompt.java:582)
 at com.btcontract.walletfiat.utils.BiometricAuth.callAuthDialog(BiometricAuth.scala:34)
 at com.btcontract.walletfiat.SettingsActivity$$anon$13$$anon$14.onCanAuthenticate(SettingsActivity.scala:250)
 at com.btcontract.walletfiat.utils.BiometricAuth.checkAuth(BiometricAuth.scala:25)
 at com.btcontract.walletfiat.SettingsActivity$$anon$13.com$btcontract$walletfiat$SettingsActivity$$anon$$makeAttempt(SettingsActivity.scala:251)
 at com.btcontract.walletfiat.SettingsActivity$$anon$13$$anonfun$7.apply$mcV$sp(SettingsActivity.scala:256)
 at com.btcontract.walletfiat.BaseActivity$$anon$8.onClick(BaseActivity.scala:218)
 at android.view.View.performClick(View.java:7185)
 at android.view.View.performClickInternal(View.java:7162)
 at android.view.View.access$3500(View.java:819)
 at android.view.View$PerformClick.run(View.java:27684)
 at android.os.Handler.handleCallback(Handler.java:883)
 at android.os.Handler.dispatchMessage(Handler.java:100)
 at android.os.Looper.loop(Looper.java:224)
 at android.app.ActivityThread.main(ActivityThread.java:7562)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)