Skip to content

Commit

Permalink
forgot to change the bools back after testing and snapshots...
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlazarine committed Nov 22, 2024
1 parent a107fe2 commit 995ad89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<br />
<div @onclick="@OnCancel" class="btn v-btn d-inline-block">Cancel</div>
@if (!_canChangeUsername)
@if (_canChangeUsername)
{
<div @onclick="@OnConfirm" class="btn v-btn danger d-inline-block">Confirm</div>
}
Expand Down Expand Up @@ -73,7 +73,7 @@

if (user.Subscription is null)
{
if (daysSinceLastChange > 30)
if (daysSinceLastChange < 30)
{
var daysLeft = 30 - daysSinceLastChange;
_changeUsernameMessage = $"You can change your username again in {daysLeft.ToString("F0")} {(daysLeft > 1 ? "days" : "day")}.\nStargazers can change their username every 7 days!";
Expand Down

0 comments on commit 995ad89

Please sign in to comment.