Browse Source

1.备份磁盘空间不足,

huangxiaodong 1 year ago
parent
commit
65a0f9e076

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/view/downloadFileBottomView.m

@@ -11,7 +11,7 @@
 
 @interface downloadFileBottomView ()
 {
-    long diskfreeSpace;//iphone 空间
+    long long diskfreeSpace;//iphone 空间
     BOOL isCanDown;
 }
 @property(nonatomic,strong)UILabel *selectNumLabel;

+ 7 - 0
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+backupsFile.m

@@ -287,6 +287,13 @@
                         [[iToast makeText:tipStr] show];
                     });
                 }
+                else if ([status isEqualToString:@"5"]){
+                    NSString *tipStr = NSLocalizedString(@"disk_space_not_tip",nil);
+                    [[backupsFileManager shareInstance] changeBackupsFileStateToFailWith:tipStr];
+                    mainBlock(^{
+                        [[iToast makeText:tipStr] show];
+                    });
+                }
                 else if ([status isEqualToString:@"0"]){
                     
                     NSNumber * fileLengthNum = @0;