|
@@ -132,8 +132,10 @@ namespace GFGGame
|
|
{
|
|
{
|
|
UI_ListBoxRewardItem item = UI_ListBoxRewardItem.Proxy(obj);
|
|
UI_ListBoxRewardItem item = UI_ListBoxRewardItem.Proxy(obj);
|
|
DailyActiveRewardCfg cfg = _rewardCfgs[index];
|
|
DailyActiveRewardCfg cfg = _rewardCfgs[index];
|
|
- item.m_c1.selectedIndex = DailyTaskDataManager.Instance.GetBoxStateById(cfg.id);
|
|
|
|
|
|
+ int state = DailyTaskDataManager.Instance.GetBoxStateById(cfg.id);
|
|
|
|
+ item.m_c1.selectedIndex = state;
|
|
item.m_txtNum.text = cfg.count.ToString();
|
|
item.m_txtNum.text = cfg.count.ToString();
|
|
|
|
+ RedDotController.Instance.SetComRedDot(item.target, state == ConstBonusStatus.CAN_GET, "", 0, 20, 0, 8);
|
|
|
|
|
|
item.target.data = _rewardCfgs[index];
|
|
item.target.data = _rewardCfgs[index];
|
|
UI_ListBoxRewardItem.ClearProxy();
|
|
UI_ListBoxRewardItem.ClearProxy();
|