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

Move volume formatting from DisplayUtils to VolumeUtil #5740

Merged
merged 2 commits into from
Oct 4, 2021

Conversation

ghubstan
Copy link
Member

@ghubstan ghubstan commented Oct 2, 2021

In practice, presentation/display logic should be kept in UIs, but the core api will need to duplicate a very small part of the code in DisplayUtils if a very small part of this refactoring is not done. Instead of moving a tiny bit of the volume formatting methods, all of them are moved to core's VolumeUtil.

This PR's branch is based off master, and is not part of any PR chain requiring review/merge of any parent PRs.

In practice, presentation/display logic should be kept in UIs, but the core
api will need to duplicate a very small part of the code in DisplayUtils if
a very small part of this refactoring is not done.  Instead of moving a tiny
bit of the volume formatting methods, all of them are moved to core.
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

@ripcurlx ripcurlx added this to the v1.7.5 milestone Oct 4, 2021
@ripcurlx ripcurlx merged commit 55ab0d4 into bisq-network:master Oct 4, 2021
@ghubstan ghubstan deleted the mv-volfmt-code-to-volutil branch November 10, 2021 13:11
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