diff --git a/lua/app/ui/activity/seven_day/seven_day_ui.lua b/lua/app/ui/activity/seven_day/seven_day_ui.lua index 4a670af0..82ca5263 100644 --- a/lua/app/ui/activity/seven_day/seven_day_ui.lua +++ b/lua/app/ui/activity/seven_day/seven_day_ui.lua @@ -144,7 +144,7 @@ function SevenDayUI:refreshStepInfo() local count = DataManager.SevenDayData:getCollectedCount() local totalCount = DataManager.SevenDayData:getTotalCount() self.sevenDayDesc:setText(I18N:getGlobalText(I18N.GlobalConst.SEVEN_DAY_DESC_2, count, totalCount)) - self.sevenDaySliderComp.value = count / totalCount + self.sevenDaySliderComp.value = count / DataManager.SevenDayData:getStepNum(#self.stepObjs) end function SevenDayUI:refreshScrollRect()