From 0d084648a35cd1e879028ee2eaf39344489954ff Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 30 Jun 2022 10:44:06 +0100 Subject: [PATCH] showing a toast on password reset confirmation --- .../vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt | 2 ++ vector/src/main/res/values/donottranslate.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt index fbe32d97ed..2880b16156 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt @@ -20,6 +20,7 @@ import android.content.Intent import android.os.Parcelable import android.view.View import android.view.ViewGroup +import android.widget.Toast import androidx.core.view.ViewCompat import androidx.core.view.children import androidx.core.view.isVisible @@ -191,6 +192,7 @@ class FtueAuthVariant( addLoginStageFragmentToBackstack(FtueAuthResetPasswordSuccessFragment::class.java) } OnboardingViewEvents.OnResetPasswordComplete -> { + Toast.makeText(activity, R.string.ftue_auth_password_reset_confirmation, Toast.LENGTH_SHORT).show() activity.popBackstack() } is OnboardingViewEvents.OnSendEmailSuccess -> { diff --git a/vector/src/main/res/values/donottranslate.xml b/vector/src/main/res/values/donottranslate.xml index 943ef39313..dda5edc58f 100755 --- a/vector/src/main/res/values/donottranslate.xml +++ b/vector/src/main/res/values/donottranslate.xml @@ -50,6 +50,7 @@ Did not receive an email? Resend email Forgot password + Password reset © MapTiler © OpenStreetMap contributors