|
|
@@ -178,16 +178,15 @@ class StoreController extends BaseController implements PaymentStatusCallback {
|
|
|
|
|
|
void errorPayToast(int errno) {
|
|
|
if (errno == AgilePayCode.payCodeNotSupport) {
|
|
|
- ToastUtil.showToast(StringName.storePayNotSupport.tr, addPostFrame: true);
|
|
|
+ ToastUtil.showToast(StringName.storePayNotSupport.tr);
|
|
|
} else if (errno == AgilePayCode.payCodeCancelError) {
|
|
|
- ToastUtil.showToast(StringName.storePayUserCancel.tr, addPostFrame: true);
|
|
|
+ ToastUtil.showToast(StringName.storePayUserCancel.tr);
|
|
|
} else if (errno == AgilePayCode.payCodeWxEnvError) {
|
|
|
- ToastUtil.showToast(StringName.storePayWxEvnError.tr, addPostFrame: true);
|
|
|
+ ToastUtil.showToast(StringName.storePayWxEvnError.tr);
|
|
|
} else if (errno == AgilePayCode.payCodeNotConnectStore) {
|
|
|
- ToastUtil.showToast(StringName.storePayNotConnectstore.tr,
|
|
|
- addPostFrame: true);
|
|
|
+ ToastUtil.showToast(StringName.storePayNotConnectstore.tr);
|
|
|
} else {
|
|
|
- ToastUtil.showToast(StringName.storePayError.tr, addPostFrame: true);
|
|
|
+ ToastUtil.showToast(StringName.storePayError.tr);
|
|
|
}
|
|
|
}
|
|
|
|