Skip to content

Commit

Permalink
Merge pull request #3623 from planetarium/bugfix/minor-fixs
Browse files Browse the repository at this point in the history
Bugfix/minor fixs
  • Loading branch information
jonny-jeahyunchoi authored Nov 20, 2023
2 parents ded160b + 9eec495 commit 8f2d556
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nekoyume/Assets/_Scripts/Game/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ private IEnumerator Start()
"UI_REQUIRED_UPDATE_CONTENT",
"UI_OK",
true,
IconAndButtonSystem.SystemType.Error);
IconAndButtonSystem.SystemType.Information);
popup.ConfirmCallback = popup.CancelCallback = () =>
{
#if UNITY_ANDROID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class RewardCell
[SerializeField]
public Button TooltipButton;

private bool isNotPremium = false;
private IDisposable disposable;
private ItemBase itemBaseForToolTip = null;

Expand Down Expand Up @@ -104,6 +105,7 @@ public void SetData(SeasonPassServiceClient.ItemInfoSchema itemInfo, SeasonPassS
if(!avatarInfo.IsPremium && !isNormal)
{
ItemView.LevelLimitObject.SetActive(true);
isNotPremium = true;
}
else
{
Expand All @@ -120,7 +122,7 @@ public void SetData(SeasonPassServiceClient.ItemInfoSchema itemInfo, SeasonPassS
return;
AudioController.PlayClick();

if (ItemView.LevelLimitObject.activeSelf)
if (ItemView.LevelLimitObject.activeSelf && isNotPremium)
{
OneLineSystem.Push(MailType.System,
L10nManager.Localize("NOTIFICATION_SEASONPASS_PREMIUM_LIMIT_UNLOCK_GUIDE"),
Expand Down

0 comments on commit 8f2d556

Please sign in to comment.