|
@@ -77,7 +77,7 @@ namespace GFGGame
|
|
|
_ui.m_comTab.target.scrollPane.SetPercX((float)(_curTabIndex - 1) / (float)StoreTabCfgArray.Instance.dataArray.Length, false);
|
|
|
|
|
|
_curSubTabIndex = this.viewData == null ? 0 : (int)(this.viewData as object[])[1];
|
|
|
- if (_curTabIndex == ConstStoreTabId.STORE_GIFT_BAG && _curSubTabIndex > 0 && !ShopDataManager.Instance.GetShopActivityIsShow(_curSubTabIndex)) {
|
|
|
+ if (_curTabIndex == ConstStoreTabId.STORE_GIFT_BAG && _curSubTabIndex > 0 && !ShopDataManager.Instance.GetShopActivityIsShow(ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY)) {
|
|
|
_curSubTabIndex -= 1;
|
|
|
}
|
|
|
if (_ui.m_listSubTab.numItems > _curSubTabIndex)
|