mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-10 23:25:41 +12:00
Fix icons
This commit is contained in:
parent
84250eb17e
commit
763b3ec9e3
1 changed files with 4 additions and 4 deletions
|
@ -526,12 +526,12 @@ namespace HISP.Player
|
|||
if (Subscribed)
|
||||
{
|
||||
int months = (SubscribedUntil.Month - DateTime.UtcNow.Month) + ((SubscribedUntil.Year - DateTime.UtcNow.Year) * 12);
|
||||
if (months <= 1)
|
||||
icon = Messages.MonthSubscriptionIcon;
|
||||
else if (months <= 3)
|
||||
if (months >= 3)
|
||||
icon = Messages.ThreeMonthSubscripitionIcon;
|
||||
else if(months <= (12+3))
|
||||
else if(months >= (12+3))
|
||||
icon = Messages.YearSubscriptionIcon;
|
||||
else
|
||||
icon = Messages.MonthSubscriptionIcon;
|
||||
}
|
||||
if (Moderator)
|
||||
icon = Messages.ModeratorIcon;
|
||||
|
|
Loading…
Add table
Reference in a new issue