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

ETH-951 - display full amount in send button #2193

Merged

Conversation

eduardmaximovich
Copy link
Collaborator

Jira Ticket

https://p2pvalidator.atlassian.net/browse/

Description of Work

[ what work was done in this ticket ]

Screenshots (Optional)

Screenshot #1 Screenshot #2 Screenshot #3
[Paste Pic 1] [Paste Pic 2] [Paste Pic 3]

Copy link

github-actions bot commented Feb 12, 2024

Code coverage report

File Coverage [66.67%] Min. Covered
NewSendButtonState.kt 0.00% 💩
SendFeeTotal.kt 0.00% 💩
NewSendPresenter.kt 0.00% 💩
SendViaLinkPresenter.kt 0.00% 💩
Total Project Coverage 4.80% 💩

maxAccountCreationCountAllowed = 0,
maxAccountCreationAmountAllowed = BigInteger.ZERO
),
processedFee = org.p2p.wallet.feerelayer.model.ProcessedFee(
Copy link
Contributor

Choose a reason for hiding this comment

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

import?

@@ -35,6 +37,33 @@ class SendFeeTotal constructor(
val interestBearingPercent: BigDecimal? = null
) : Parcelable {

companion object {
fun createEmpty(): SendFeeTotal = SendFeeTotal(
Copy link
Contributor

Choose a reason for hiding this comment

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

mb just val EMPTY?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No reason to do this; this code is unused in fact, and allocating static storage for it is pointless

…ture/ETH-951-display-full-sending-amount-in-button
@eduardmaximovich eduardmaximovich merged commit 5dd3763 into develop Feb 14, 2024
3 of 4 checks passed
@eduardmaximovich eduardmaximovich deleted the feature/ETH-951-display-full-sending-amount-in-button branch February 14, 2024 09:09
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.

2 participants