Page MenuHomePhabricator

[Cashtab] Add support for Swiss Franc
ClosedPublic

Authored by kieran709 on Feb 10 2022, 18:34.

Details

Reviewers
bytesofman
emack
Group Reviewers
Restricted Project
Commits
rABC5921ce974862: [Cashtab] Add support for Swiss Franc
Summary

Added support for Swiss Franc (CHF). One issue is, if using the internationally accepted "CHF" for the symbol, the amount appears as "CHF [amount] CHF". According to some sources, Fr. is an acceptable currency symbol, which displays the amount as "Fr. [amount] CHF" which I think is easier on the eyes. That said, it can be changed back if that is preferrable. Related to task T2210.

Test Plan

cd web/cashtab && npm start
navigate to settings tab
select Swiss Franc from dropdown menu
navigate to wallet tab and check that CHF is the selected currency
using an online conversion tool, ensure conversion is taking place

Diff Detail

Repository
rABC Bitcoin ABC
Branch
support-swiss-franc
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18257
Build 36322: Build Diffcashtab-tests
Build 36321: arc lint + arc unit

Event Timeline

bytesofman added inline comments.
web/cashtab/src/components/Common/Ticker.js
79 ↗(On Diff #32338)

Make sure to follow current convention of alphabetical order by name:, not key

This revision now requires changes to proceed.Feb 11 2022, 19:40

Responding to review feedback.

This revision is now accepted and ready to land.Feb 12 2022, 00:07
This revision was automatically updated to reflect the committed changes.