Browse Source

1.frp进入不依赖盒子是否链接成功

huangxiaodong 1 year ago
parent
commit
f55bfee885
1 changed files with 12 additions and 12 deletions
  1. 12 12
      创维盒子/双子星云手机/NAS/NASViewController.m

+ 12 - 12
创维盒子/双子星云手机/NAS/NASViewController.m

@@ -479,10 +479,10 @@
         return;
     }
     
-    if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
-        [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
-        return;
-    }
+//    if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
+//        [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
+//        return;
+//    }
     
     if(ksharedAppDelegate.DisabledFileTransferType){
         if(ksharedAppDelegate.isImageNewFor130){
@@ -543,10 +543,10 @@
         return;
     }
     
-    if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
-        [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
-        return;
-    }
+//    if (!ksharedAppDelegate.isWebSockLinkOKAginType) {//未链接
+//        [[iToast makeText:NSLocalizedString(@"box_link_error_show_tip",nil)] show];
+//        return;
+//    }
     
     switch (tag)
     {
@@ -557,10 +557,10 @@
             break;
         case 11:
         {
-                if(!ksharedAppDelegate.isWebSockLinkOKAginType){
-                    [[iToast makeText:NSLocalizedString(@"check_could_phone_state",nil)] show];
-                    return;
-                }
+//                if(!ksharedAppDelegate.isWebSockLinkOKAginType){
+//                    [[iToast makeText:NSLocalizedString(@"check_could_phone_state",nil)] show];
+//                    return;
+//                }
 
                 fileTransfeSetViewController *nextVC = [fileTransfeSetViewController new];
                 [self pushViewController:nextVC animated:YES];