Browse Source

fix Bug #7820

master
daivph 5 years ago
parent
commit
5b449e9b71
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/presentation/screens/forgot_password/sc_forgot_password.dart

+ 1
- 1
lib/presentation/screens/forgot_password/sc_forgot_password.dart View File

@@ -31,8 +31,8 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> {
LoadingDialog.showLoadingDialog(context);
_userRepository.forgotPassword(_email).then((value) {
LoadingDialog.hideLoadingDialog(context);
Utils.showSnackBarSuccess(message: "Gửi email thành công");
Navigator.pop(context);
Utils.showSnackBarSuccess(message: "Gửi email thành công");
}).catchError((error) {
LoadingDialog.hideLoadingDialog(context);
Utils.showSnackBarError(message: 'Email không tồn tại');

Loading…
Cancel
Save