diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt index 3c9e7f6..e8f71a6 100644 --- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt +++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt @@ -9,7 +9,7 @@ import androidx.core.content.ContextCompat import androidx.fragment.app.FragmentActivity -// Based on OWF implementation: https://github.com/openwallet-foundation-labs/identity-credential/blob/main/wallet/src/main/java/com/android/identity_credential/wallet/BiometricUserAuthPrompt.kt +// Based on OWF Labs Identity Credential implementation: https://github.com/openwallet-foundation-labs/identity-credential/blob/main/wallet/src/main/java/com/android/identity_credential/wallet/BiometricUserAuthPrompt.kt /** * Prompts user for authentication, and calls the provided functions when authentication is @@ -159,8 +159,4 @@ private class BiometricUserAuthPrompt( biometricPrompt.authenticate(lskfPromptInfo) } } - - private fun resourceString(id: Int, vararg text: String): String { - return activity.applicationContext.resources.getString(id, *text) - } }