Ver código fonte

1.镜像升级处理完成

huangxiaodong 11 meses atrás
pai
commit
ee09f2b690

+ 1 - 1
创维盒子/双子星云手机/CloudPlayer/View/imageVersionRenewTipView.m

@@ -198,7 +198,7 @@
     
     _gradientLayer.frame = CGRectMake(0, 0, 268*curProgress, 40);
     
-    NSString *butNewTitleStr = [[NSString alloc] initWithFormat:@"%@%ld%%",NSLocalizedString(@"image_version_Update_ing",nil),(NSInteger)curProgress*100];
+    NSString *butNewTitleStr = [[NSString alloc] initWithFormat:@"%@%ld%%",NSLocalizedString(@"image_version_Update_ing",nil),(NSInteger)(curProgress*100)];
     [_updateNowBut setTitle:butNewTitleStr forState:UIControlStateNormal];
 
     

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

@@ -992,7 +992,7 @@
     
     RenewTipView = [[imageVersionRenewTipView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H)];
     [ksharedAppDelegate.window addSubview:RenewTipView];
-    RenewTipView.status = 2;//_otaUpgradeInfoModel.data.status;
+    RenewTipView.status = _otaUpgradeInfoModel.data.status;
     
     //[self.view bringSubviewToFront:RenewTipView];