|
|
@@ -62,7 +62,7 @@ class StoreController extends BaseController implements PaymentStatusCallback {
|
|
|
|
|
|
|
|
|
void initStoreIndexData() {
|
|
|
- LoadingDialog.show();
|
|
|
+ LoadingDialog.showLoading();
|
|
|
storeRepository.storeIndex().then((indexData) async {
|
|
|
storeItems.clear();
|
|
|
storeItems.addAll(indexData.items);
|
|
|
@@ -96,7 +96,7 @@ class StoreController extends BaseController implements PaymentStatusCallback {
|
|
|
int payPlatform = paymentWay.payPlatform;
|
|
|
int payMethod = paymentWay.payMethod;
|
|
|
|
|
|
- LoadingDialog.show();
|
|
|
+ LoadingDialog.showLoading();
|
|
|
|
|
|
Future.delayed(const Duration(seconds: 20), () {
|
|
|
LoadingDialog.hide();
|
|
|
@@ -131,7 +131,7 @@ class StoreController extends BaseController implements PaymentStatusCallback {
|
|
|
}
|
|
|
int payPlatform = paymentWay.payPlatform;
|
|
|
int payMethod = paymentWay.payMethod;
|
|
|
- LoadingDialog.show();
|
|
|
+ LoadingDialog.showLoading();
|
|
|
try {
|
|
|
// OrderPayResponse response =
|
|
|
storeRepository.orderPay(storeItem.id, payPlatform, payMethod).then((response) async {
|