showing a toast on password reset confirmation

This commit is contained in:
Adam Brown 2022-06-30 10:44:06 +01:00
parent c603b780cf
commit 0d084648a3
2 changed files with 3 additions and 0 deletions

View File

@ -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 -> {

View File

@ -50,6 +50,7 @@
<string name="ftue_auth_email_verification_footer">Did not receive an email?</string>
<string name="ftue_auth_email_resend_email">Resend email</string>
<string name="ftue_auth_forgot_password">Forgot password</string>
<string name="ftue_auth_password_reset_confirmation">Password reset</string>
<string name="location_map_view_copyright" translatable="false">© MapTiler © OpenStreetMap contributors</string>
</resources>