BASE: Update PLs Wait Loader.
This commit is contained in:
@@ -246,7 +246,7 @@ class OnDemandBookingScreen extends StatelessWidget {
|
||||
Constant.checkPermission(
|
||||
onTap: () async {
|
||||
ShowToastDialog.showLoader(
|
||||
"Please wait...".tr,
|
||||
ConstTexts.pleaseWait.tr,
|
||||
);
|
||||
|
||||
ShippingAddress shippingAddress =
|
||||
|
||||
@@ -105,7 +105,7 @@ class OnDemandHomeScreen extends StatelessWidget {
|
||||
Constant.checkPermission(
|
||||
onTap: () async {
|
||||
ShowToastDialog.showLoader(
|
||||
"Please wait...".tr,
|
||||
ConstTexts.pleaseWait.tr,
|
||||
);
|
||||
|
||||
// ✅ declare it once here!
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user