fun setBiometricPrompt(view: View, prefList: List<Int>) { biometricPromptFeature.set( feature = BiometricPromptFeature( context = requireContext(), fragment = this, onAuthFailure = { togglePrefsEnabled(prefList, true) }, onAuthSuccess = ::navigateOnSuccess, ), owner = this, view = view, ) }
Sets the biometric prompt feature.