BASE: Update PLs Wait Loader.

This commit is contained in:
2025-12-05 16:36:32 +05:00
parent 079fb01608
commit 3874ef062b
34 changed files with 61 additions and 49 deletions

View File

@@ -246,7 +246,7 @@ class OnDemandBookingScreen extends StatelessWidget {
Constant.checkPermission(
onTap: () async {
ShowToastDialog.showLoader(
"Please wait...".tr,
ConstTexts.pleaseWait.tr,
);
ShippingAddress shippingAddress =

View File

@@ -105,7 +105,7 @@ class OnDemandHomeScreen extends StatelessWidget {
Constant.checkPermission(
onTap: () async {
ShowToastDialog.showLoader(
"Please wait...".tr,
ConstTexts.pleaseWait.tr,
);
// ✅ declare it once here!

View File

@@ -771,7 +771,9 @@ class OnDemandOrderDetailsScreen extends StatelessWidget {
child: ElevatedButton(
onPressed: () async {
ShowToastDialog.showLoader(
"Please wait...".tr,
ConstTexts
.pleaseWait
.tr,
);
ShowToastDialog.closeLoader();
@@ -1192,7 +1194,7 @@ class OnDemandOrderDetailsScreen extends StatelessWidget {
child: ElevatedButton(
onPressed: () async {
ShowToastDialog.showLoader(
"Please wait...".tr,
ConstTexts.pleaseWait.tr,
);
ShowToastDialog.closeLoader();

View File

@@ -46,7 +46,7 @@ class ProviderInboxScreen extends StatelessWidget {
InboxModel inboxModel = InboxModel.fromJson(data!);
return InkWell(
onTap: () async {
ShowToastDialog.showLoader("Please wait...".tr);
ShowToastDialog.showLoader(ConstTexts.pleaseWait.tr);
UserModel? customer = await FireStoreUtils.getUserProfile(
inboxModel.customerId.toString(),

View File

@@ -46,7 +46,7 @@ class WorkerInboxScreen extends StatelessWidget {
InboxModel inboxModel = InboxModel.fromJson(data!);
return InkWell(
onTap: () async {
ShowToastDialog.showLoader("Please wait...".tr);
ShowToastDialog.showLoader(ConstTexts.pleaseWait.tr);
UserModel? customer = await FireStoreUtils.getUserProfile(
inboxModel.customerId.toString(),