File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
vector/src/main/java/im/vector/app/features/onboarding/ftueauth Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ class FtueAuthPhoneConfirmationFragment @Inject constructor() : AbstractFtueAuth
6767 }
6868
6969 override fun onError (throwable : Throwable ) {
70- when (throwable) {
70+ views.phoneConfirmationInput.error = when (throwable) {
7171 // The entered code is not correct
72- is Failure .SuccessError -> views.phoneConfirmationInput.error = getString(R .string.login_validation_code_is_not_correct)
73- else -> views.phoneConfirmationInput.error = errorFormatter.toHumanReadable(throwable)
72+ is Failure .SuccessError -> getString(R .string.login_validation_code_is_not_correct)
73+ else -> errorFormatter.toHumanReadable(throwable)
7474 }
7575 }
7676
You can’t perform that action at this time.
0 commit comments