Skip to content

Commit

Permalink
Currency update (#446)
Browse files Browse the repository at this point in the history
* Added new crypto icons

* Added new crypto icons

* Create swift.yml

* Added new crypto icons

* Delete swift.yml

* Delete publish.yml

* Revert publish.yml

---------

Co-authored-by: Anton Palgunov <[email protected]>
  • Loading branch information
zaheeraws and Toxblh committed Jul 28, 2023
1 parent d39b4c0 commit 88a4ce8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion MTMR/Widgets/CurrencyBarItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ class CurrencyBarItem: CustomButtonTouchBarItem {
"BTC": "฿",
"LTC": "Ł",
"ETH": "Ξ",
"SOL": "",
"DOT": "",
"DOGE": "Ð",
"XMR": "ɱ",
"ADA": ""
]
private let decimals = [
"USD": 4,
Expand All @@ -54,9 +59,13 @@ class CurrencyBarItem: CustomButtonTouchBarItem {
"MXN": 2,
"SGD": 4,
"CHF": 4,
"BTC": 2,
"BTC": 3,
"LTC": 2,
"ETH": 2,
"DOT": 3,
"DOGE": 4,
"ADA": 3,
"USDT": 3
]

init(identifier: NSTouchBarItem.Identifier, interval: TimeInterval, from: String, to: String, full: Bool) {
Expand Down

0 comments on commit 88a4ce8

Please sign in to comment.