From 0d80bdfd4140f3da2455dbe10574fafd8e8340f1 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 8 Jun 2022 11:01:08 +0100 Subject: [PATCH] updating xml ids to reflect their context --- .../FtueAuthResetPasswordBreakerFragment.kt | 10 +-- .../FtueAuthResetPasswordEntryFragment.kt | 18 +++--- .../fragment_ftue_reset_password_breaker.xml | 52 ++++++++-------- .../fragment_ftue_reset_password_input.xml | 62 +++++++++---------- 4 files changed, 71 insertions(+), 71 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordBreakerFragment.kt b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordBreakerFragment.kt index 5a8ced28df..31f934b356 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordBreakerFragment.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordBreakerFragment.kt @@ -54,17 +54,17 @@ class FtueAuthResetPasswordBreakerFragment : AbstractFtueAuthFragment R.drawable.bg_waiting_for_email_verification false -> R.drawable.bg_color_background } ) - views.emailVerificationTitle.text = getString(R.string.ftue_auth_reset_password_breaker_title) + views.resetPasswordBreakerTitle.text = getString(R.string.ftue_auth_reset_password_breaker_title) .colorTerminatingFullStop(ThemeUtils.getColor(requireContext(), R.attr.colorSecondary)) - views.emailVerificationSubtitle.text = getString(R.string.ftue_auth_email_verification_subtitle, params.email) - views.emailVerificationResendEmail.debouncedClicks { viewModel.handle(OnboardingAction.ResendResetPassword) } - views.emailVerificationFooter.debouncedClicks { + views.resetPasswordBreakerSubtitle.text = getString(R.string.ftue_auth_email_verification_subtitle, params.email) + views.resetPasswordBreakerResendEmail.debouncedClicks { viewModel.handle(OnboardingAction.ResendResetPassword) } + views.resetPasswordBreakerFooter.debouncedClicks { viewModel.handle(OnboardingAction.PostViewEvent(OnboardingViewEvents.OnResetPasswordBreakerConfirmed)) } } diff --git a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordEntryFragment.kt b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordEntryFragment.kt index 8cd2d2b3e0..b302a3e4fb 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordEntryFragment.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthResetPasswordEntryFragment.kt @@ -49,14 +49,14 @@ class FtueAuthResetPasswordEntryFragment : AbstractFtueAuthFragment + app:layout_constraintTop_toBottomOf="@id/resetPasswordBreakerSpace1" /> + app:layout_constraintTop_toBottomOf="@id/resetPasswordBreakerLogo" /> + app:layout_constraintBottom_toTopOf="@id/resetPasswordBreakerResendEmail" + app:layout_constraintTop_toBottomOf="@id/resetPasswordBreakerSubtitle" />