mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Update linked devices check.
This commit is contained in:
committed by
Greyson Parrelli
parent
a21b3387fc
commit
224a85f5db
@@ -258,7 +258,7 @@ class LinkDeviceFragment : ComposeFragment() {
|
||||
override fun onAuthenticationError(errorCode: Int, errorString: CharSequence) {
|
||||
Log.w(TAG, "Authentication error: $errorCode")
|
||||
if (errorCode == BiometricPrompt.ERROR_CANCELED) {
|
||||
findNavController().safeNavigate(R.id.action_linkDeviceFragment_to_addLinkDeviceFragment)
|
||||
biometricDeviceLockLauncher.launch(getString(R.string.LinkDeviceFragment__unlock_to_link))
|
||||
} else {
|
||||
onAuthenticationFailed()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user