BASE: Update Icons & Name Of The App.

This commit is contained in:
2025-12-04 10:23:59 +05:00
parent b04050384d
commit e602782edd
228 changed files with 34364 additions and 7905 deletions

View File

@@ -1,7 +1,7 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get/get.dart' hide Trans;
import '../themes/show_toast_dialog.dart';
class ForgotPasswordController extends GetxController {
@@ -26,7 +26,8 @@ class ForgotPasswordController extends GetxController {
await FirebaseAuth.instance.sendPasswordResetEmail(email: email);
ShowToastDialog.closeLoader();
ShowToastDialog.showToast(
'reset_password_link_sent'.trParams({'email': email}),
'reset_password_link_sent'.tr(namedArgs: {'email': email})
);
Get.back();
} on FirebaseAuthException catch (e) {
@@ -34,7 +35,9 @@ class ForgotPasswordController extends GetxController {
if (e.code == 'user-not-found') {
ShowToastDialog.showToast('No user found for that email.'.tr());
} else {
ShowToastDialog.showToast(e.message?.tr() ?? "something_went_wrong".tr());
ShowToastDialog.showToast(
e.message?.tr() ?? "something_went_wrong".tr(),
);
}
}
}