mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-18 19:01:32 +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)
|
if (Subscribed)
|
||||||
{
|
{
|
||||||
int months = (SubscribedUntil.Month - DateTime.UtcNow.Month) + ((SubscribedUntil.Year - DateTime.UtcNow.Year) * 12);
|
int months = (SubscribedUntil.Month - DateTime.UtcNow.Month) + ((SubscribedUntil.Year - DateTime.UtcNow.Year) * 12);
|
||||||
if (months <= 1)
|
if (months >= 3)
|
||||||
icon = Messages.MonthSubscriptionIcon;
|
|
||||||
else if (months <= 3)
|
|
||||||
icon = Messages.ThreeMonthSubscripitionIcon;
|
icon = Messages.ThreeMonthSubscripitionIcon;
|
||||||
else if(months <= (12+3))
|
else if(months >= (12+3))
|
||||||
icon = Messages.YearSubscriptionIcon;
|
icon = Messages.YearSubscriptionIcon;
|
||||||
|
else
|
||||||
|
icon = Messages.MonthSubscriptionIcon;
|
||||||
}
|
}
|
||||||
if (Moderator)
|
if (Moderator)
|
||||||
icon = Messages.ModeratorIcon;
|
icon = Messages.ModeratorIcon;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue