Skip to content

[NMA-1111] Enter Amount fixes - #854

Merged
HashEngineering merged 2 commits into
feature-coinbase-integrationfrom
bugfix-coinbase-zero-fraction
Jan 2, 2022
Merged

HashEngineering merged 2 commits into
feature-coinbase-integrationfrom
bugfix-coinbase-zero-fraction

Conversation

@Syn-McJ

@Syn-McJ Syn-McJ commented Dec 28, 2021

Copy link
Copy Markdown
Member

Toggling between dash and fiat causes input to have ".00" ending which prevents further input.
Another issue I've noticed is that when toggling, dash amount sometimes gets small fractions added or substructed.

Issue being fixed or feature implemented

  • Allow formatting input without a fractional part if it's not needed.
  • Since we're anchoring to Dash when toggling between dash and fiat, I changed the logic to keep dash amount static instead of calculating it from the fiat input.

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@Syn-McJ Syn-McJ self-assigned this Dec 28, 2021
@HashEngineering
HashEngineering merged commit f998cfb into feature-coinbase-integration Jan 2, 2022
@Syn-McJ
Syn-McJ deleted the bugfix-coinbase-zero-fraction branch January 10, 2022 10:07
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