showing a toast on password reset confirmation
This commit is contained in:
parent
c603b780cf
commit
0d084648a3
|
@ -20,6 +20,7 @@ import android.content.Intent
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
|
import android.widget.Toast
|
||||||
import androidx.core.view.ViewCompat
|
import androidx.core.view.ViewCompat
|
||||||
import androidx.core.view.children
|
import androidx.core.view.children
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
|
@ -191,6 +192,7 @@ class FtueAuthVariant(
|
||||||
addLoginStageFragmentToBackstack(FtueAuthResetPasswordSuccessFragment::class.java)
|
addLoginStageFragmentToBackstack(FtueAuthResetPasswordSuccessFragment::class.java)
|
||||||
}
|
}
|
||||||
OnboardingViewEvents.OnResetPasswordComplete -> {
|
OnboardingViewEvents.OnResetPasswordComplete -> {
|
||||||
|
Toast.makeText(activity, R.string.ftue_auth_password_reset_confirmation, Toast.LENGTH_SHORT).show()
|
||||||
activity.popBackstack()
|
activity.popBackstack()
|
||||||
}
|
}
|
||||||
is OnboardingViewEvents.OnSendEmailSuccess -> {
|
is OnboardingViewEvents.OnSendEmailSuccess -> {
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
<string name="ftue_auth_email_verification_footer">Did not receive an email?</string>
|
<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_email_resend_email">Resend email</string>
|
||||||
<string name="ftue_auth_forgot_password">Forgot password</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>
|
<string name="location_map_view_copyright" translatable="false">© MapTiler © OpenStreetMap contributors</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue