Materialdesign: Duplicate currency

Created on 11 Apr 2018  路  2Comments  路  Source: Templarian/MaterialDesign

currency-cny is the same as currency-jpy. Shouldn't this be an alias instead? There are a few more duplicate icons that I had noticed but I don't remember which.

Question

Most helpful comment

This is intentional, possibly to prepare for a time when Chinese Yuan and Japanese Yen no longer share the same symbol.

All 2 comments

This is intentional, possibly to prepare for a time when Chinese Yuan and Japanese Yen no longer share the same symbol.

One use case for including it as both CNY & JPY is to avoid the need for conditionals in your code.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonnyborg picture jonnyborg  路  3Comments

danielhickman picture danielhickman  路  3Comments

ButchMonkey picture ButchMonkey  路  3Comments

rsandrea picture rsandrea  路  3Comments

kaurkaur picture kaurkaur  路  3Comments