1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 00:58:37 +00:00

Currency update (#446)

* 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 <Toxblh@users.noreply.github.com>
This commit is contained in:
Zaheer 2023-07-29 00:02:18 +05:00 committed by GitHub
parent d39b4c0c31
commit 88a4ce82db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,11 @@ class CurrencyBarItem: CustomButtonTouchBarItem {
"BTC": "฿", "BTC": "฿",
"LTC": "Ł", "LTC": "Ł",
"ETH": "Ξ", "ETH": "Ξ",
"SOL": "",
"DOT": "",
"DOGE": "Ð",
"XMR": "ɱ",
"ADA": ""
] ]
private let decimals = [ private let decimals = [
"USD": 4, "USD": 4,
@ -54,9 +59,13 @@ class CurrencyBarItem: CustomButtonTouchBarItem {
"MXN": 2, "MXN": 2,
"SGD": 4, "SGD": 4,
"CHF": 4, "CHF": 4,
"BTC": 2, "BTC": 3,
"LTC": 2, "LTC": 2,
"ETH": 2, "ETH": 2,
"DOT": 3,
"DOGE": 4,
"ADA": 3,
"USDT": 3
] ]
init(identifier: NSTouchBarItem.Identifier, interval: TimeInterval, from: String, to: String, full: Bool) { init(identifier: NSTouchBarItem.Identifier, interval: TimeInterval, from: String, to: String, full: Bool) {