Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Fix issue of duplicate currency entries #107

Conversation

ripcurlx
Copy link
Contributor

@ripcurlx ripcurlx commented May 2, 2018

When user switches between locales, currencies are persisted with different translated names, which causes problems in different parts of the application (see screenshots).

bildschirmfoto 2018-05-02 um 14 06 12

bildschirmfoto 2018-05-02 um 14 06 36

@ManfredKarrer
Copy link
Contributor

ManfredKarrer commented May 2, 2018

I assume it happens because the display string changes and produces a different hash. Overwriting the Equals and hashcode methods and using the ticker symbol only will prob. fix that.

EDIT: Ah sorry though its an issue and not a PR... See that you fixed it already.

Copy link
Contributor

@ManfredKarrer ManfredKarrer left a comment

Choose a reason for hiding this comment

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

utACK

@ManfredKarrer ManfredKarrer merged commit 2e4842e into bisq-network:master May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants