@@ -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];
@@ -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];