Sfoglia il codice sorgente

[fix]取消购买显示toast

zk 7 mesi fa
parent
commit
ad0f34a880
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      lib/module/member/member_controller.dart

+ 0 - 3
lib/module/member/member_controller.dart

@@ -626,9 +626,6 @@ class MemberController extends BaseController implements PaymentStatusCallback {
   }
 
   void errorPayToast(int? errno) {
-    if (errno == null) {
-      return;
-    }
     if (errno == AgilePayCode.payCodeNotSupport) {
       ToastUtil.show(StringName.payNotSupport);
     } else if (errno == AgilePayCode.payCodeCancelError) {