Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UI #278

Merged
merged 3 commits into from
Mar 5, 2025
Merged

Fix UI #278

merged 3 commits into from
Mar 5, 2025

Conversation

miladsoft
Copy link
Member

No description provided.

@miladsoft miladsoft marked this pull request as ready for review March 5, 2025 11:28
@@ -87,34 +87,41 @@
}
else
{
@if (totalInvestedAmount <= founderProject.ProjectInfo.TargetAmount && founderProject.ProjectHasStarted())
@if (Money.Satoshis(totalInvestedAmount).ToUnit(MoneyUnit.BTC) <= Money.Satoshis(founderProject.ProjectInfo.TargetAmount).ToUnit(MoneyUnit.BTC) && founderProject.ProjectHasStarted())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why convert to btc unit? this we do only for display

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is not needed here, it is only needed in the display.

@miladsoft
Copy link
Member Author

image

@miladsoft
Copy link
Member Author

image

@miladsoft miladsoft requested a review from dangershony March 5, 2025 11:49
@dangershony dangershony merged commit eb3b482 into main Mar 5, 2025
3 checks passed
@dangershony dangershony deleted the New-UI branch March 5, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants