|
|
|
|
@ -128,6 +128,9 @@ class _EditAccountPageState extends State<EditAccountPage> {
|
|
|
|
|
MResponse otpCompare = await UserApiClent().EmailVerifyOTPVerify(otpRequest.data!.userToken ?? "", code);
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
if (otpCompare.messageStatus == 1) {
|
|
|
|
|
AppState().getUser.data!.userInfo!.isEmailVerified=true;
|
|
|
|
|
setState(() {
|
|
|
|
|
});
|
|
|
|
|
Utils.showToast("Email is verified successfully");
|
|
|
|
|
// Navigator.of(context).pushNamedAndRemoveUntil(AppRoutes.dashboard, (Route<dynamic> route) => false);
|
|
|
|
|
// showMDialog(
|
|
|
|
|
|