mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-05 15:23:29 +01:00
Update linked devices check.
This commit is contained in:
1 parent
a21b3387fc
commit
224a85f5db
1 file changed
+1
-1
@@ -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