mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Fix changing number flow in scenarios where service requires additional verification.
Fixes #12985, #13059.
This commit is contained in:
committed by
Clark Chen
parent
e7e00bd428
commit
fddfbd8d2d
@@ -81,7 +81,7 @@ class ChangeNumberVerifyFragment : LoggingFragment(R.layout.fragment_change_phon
|
||||
|
||||
val processor: RegistrationSessionProcessor = (result as RequestCodeResult.RequestedVerificationCode).processor
|
||||
|
||||
if (processor.hasResult()) {
|
||||
if (processor.verificationCodeRequestSuccess()) {
|
||||
Log.i(TAG, "Successfully requested SMS code.")
|
||||
findNavController().safeNavigate(R.id.action_changePhoneNumberVerifyFragment_to_changeNumberEnterCodeFragment)
|
||||
} else if (processor.captchaRequired(viewModel.excludedChallenges)) {
|
||||
|
||||
Reference in New Issue
Block a user