From e835b9fcc8034cf1ab76339f50e20b79de720f52 Mon Sep 17 00:00:00 2001 From: nvtu Date: Thu, 12 Oct 2017 23:40:50 +0700 Subject: [PATCH] Change value in circle is step --- LifeLog/LifeLog/HistoryViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LifeLog/LifeLog/HistoryViewController.m b/LifeLog/LifeLog/HistoryViewController.m index 9f383d1..92ca1f0 100644 --- a/LifeLog/LifeLog/HistoryViewController.m +++ b/LifeLog/LifeLog/HistoryViewController.m @@ -114,7 +114,7 @@ -(void) updateView { HistoryObject * obj = [_curHisArray objectAtIndex:self.viewCollectionMode.getCurrentIndex]; self.lblStep.text = [NSString stringWithFormat:@"%d step", obj.target]; - self.lblCircleStep.text = self.lblStep.text; + self.lblCircleStep.text = [NSString stringWithFormat:@"%d step", obj.step]; self.lblRemaining.text = [NSString stringWithFormat:@"%d step", obj.missing]; self.lblCircleRemain.text = [NSString stringWithFormat:@"目標まであと\n%d stepです", obj.missing]; self.lblPercent.text = [NSString stringWithFormat:@"%0.2f%%", obj.percent]; -- 1.8.5.3