|
@@ -173,10 +173,13 @@ namespace GFGGame
|
|
|
_ui.m_c1.selectedIndex = _tabIndex;
|
|
|
|
|
|
UpdateView();
|
|
|
- bool result = await PoemGallerySProxy.ReqGetGalleryRankBonus();
|
|
|
- if (result && PoemGalleryDataManager.Instance.MyWorksRanks.Count > 0)
|
|
|
+ if (PoemGalleryDataManager.Instance.HasBonus)
|
|
|
{
|
|
|
- ViewManager.Show<PoemGalleryRewardGetView>();
|
|
|
+ bool result = await PoemGallerySProxy.ReqGetGalleryRankBonus();
|
|
|
+ if (result && PoemGalleryDataManager.Instance.MyWorksRanks.Count > 0)
|
|
|
+ {
|
|
|
+ ViewManager.Show<PoemGalleryRewardGetView>();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|