Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Remove random obscure fiat currencies from the Currency enum #539
Browse files Browse the repository at this point in the history
Mainly removed small island nations that are least likely to be used. I commented them out rather than deleting as we’ll re-enable them when we complete issue #540.
  • Loading branch information
einsteinx2 committed Jan 31, 2018
1 parent cfc4de1 commit d951b75
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions Balance/Shared/Data Model/Other Models/Currency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ public enum FiatCurrency: String, Equatable, Hashable {
case ang = "ANG"
case ars = "ARS"
case aud = "AUD"
case awg = "AWG"
// case awg = "AWG"
case azn = "AZN"
case bam = "BAM"
case bbd = "BBD"
// case bbd = "BBD"
case bgn = "BGN"
case bmd = "BMD"
// case bmd = "BMD"
case bnd = "BND"
case bob = "BOB"
case brl = "BRL"
Expand All @@ -244,9 +244,9 @@ public enum FiatCurrency: String, Equatable, Hashable {
case egp = "EGP"
case eur = "EUR"
case fjd = "FJD"
case fkp = "FKP"
// case fkp = "FKP"
case gbp = "GBP"
case ggp = "GGP"
// case ggp = "GGP"
case ghs = "GHS"
case gip = "GIP"
case gtq = "GTQ"
Expand All @@ -257,18 +257,18 @@ public enum FiatCurrency: String, Equatable, Hashable {
case huf = "HUF"
case idr = "IDR"
case ils = "ILS"
case imp = "IMP"
// case imp = "IMP"
case inr = "INR"
case irr = "IRR"
case isk = "ISK"
case jep = "JEP"
// case jep = "JEP"
case jmd = "JMD"
case jpy = "JPY"
case kgs = "KGS"
case khr = "KHR"
case kpw = "KPW"
case krw = "KRW"
case kyd = "KYD"
// case kyd = "KYD"
case kzt = "KZT"
case lak = "LAK"
case lbp = "LBP"
Expand Down Expand Up @@ -302,15 +302,15 @@ public enum FiatCurrency: String, Equatable, Hashable {
case scr = "SCR"
case sek = "SEK"
case sgd = "SGD"
case shp = "SHP"
case sos = "SOS"
// case shp = "SHP"
// case sos = "SOS"
case srd = "SRD"
case svc = "SVC"
case syp = "SYP"
case thb = "THB"
case `try` = "TRY"
case ttd = "TTD"
case tvd = "TVD"
// case tvd = "TVD"
case twd = "TWD"
case uah = "UAH"
case usd = "USD"
Expand All @@ -330,12 +330,12 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .ang: return "ƒ"
case .ars: return "$"
case .aud: return "$"
case .awg: return "ƒ"
// case .awg: return "ƒ"
case .azn: return "ман"
case .bam: return "KM"
case .bbd: return "$"
// case .bbd: return "$"
case .bgn: return "лв"
case .bmd: return "$"
// case .bmd: return "$"
case .bnd: return "$"
case .bob: return "$b"
case .brl: return "R$"
Expand All @@ -356,9 +356,9 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .egp: return "£"
case .eur: return ""
case .fjd: return "$"
case .fkp: return "£"
// case .fkp: return "£"
case .gbp: return "£"
case .ggp: return "£"
// case .ggp: return "£"
case .ghs: return "¢"
case .gip: return "£"
case .gtq: return "Q"
Expand All @@ -369,18 +369,18 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .huf: return "Ft"
case .idr: return "Rp"
case .ils: return ""
case .imp: return "£"
// case .imp: return "£"
case .inr: return ""
case .irr: return ""
case .isk: return "kr"
case .jep: return "£"
// case .jep: return "£"
case .jmd: return "J$"
case .jpy: return "¥"
case .kgs: return "лв"
case .khr: return ""
case .kpw: return ""
case .krw: return ""
case .kyd: return "$"
// case .kyd: return "$"
case .kzt: return "лв"
case .lak: return ""
case .lbp: return "£"
Expand Down Expand Up @@ -414,15 +414,15 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .scr: return ""
case .sek: return "kr"
case .sgd: return "$"
case .shp: return "£"
case .sos: return "S"
// case .shp: return "£"
// case .sos: return "S"
case .srd: return "$"
case .svc: return "$"
case .syp: return "£"
case .thb: return "฿"
case .try: return ""
case .ttd: return "TT$"
case .tvd: return "$"
// case .tvd: return "$"
case .twd: return "NT$"
case .uah: return ""
case .usd: return "$"
Expand All @@ -444,12 +444,12 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .ang: return "Netherlands Antilles Guilder"
case .ars: return "Argentina Peso"
case .aud: return "Australian Dollar"
case .awg: return "Aruba Guilder"
// case .awg: return "Aruba Guilder"
case .azn: return "Azerbaijan Manat"
case .bam: return "Bosnia and Herzegovina Convertible Marka"
case .bbd: return "Barbados Dollar"
// case .bbd: return "Barbados Dollar"
case .bgn: return "Bulgaria Lev"
case .bmd: return "Bermuda Dollar"
// case .bmd: return "Bermuda Dollar"
case .bnd: return "Brunei Darussalam Dollar"
case .bob: return "Bolivia Bolíviano"
case .brl: return "Brazil Real"
Expand All @@ -470,9 +470,9 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .egp: return "Egypt Pound"
case .eur: return "Euro"
case .fjd: return "Fiji Dollar"
case .fkp: return "Falkland Islands (Malvinas) Pound"
// case .fkp: return "Falkland Islands (Malvinas) Pound"
case .gbp: return "British Pound"
case .ggp: return "Guernsey Pound"
// case .ggp: return "Guernsey Pound"
case .ghs: return "Ghana Cedi"
case .gip: return "Gibraltar Pound"
case .gtq: return "Guatemala Quetzal"
Expand All @@ -483,18 +483,18 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .huf: return "Hungary Forint"
case .idr: return "Indonesia Rupiah"
case .ils: return "Israel Shekel"
case .imp: return "Isle of Man Pound"
// case .imp: return "Isle of Man Pound"
case .inr: return "India Rupee"
case .irr: return "Iran Rial"
case .isk: return "Iceland Krona"
case .jep: return "Jersey Pound"
// case .jep: return "Jersey Pound"
case .jmd: return "Jamaica Dollar"
case .jpy: return "Japanese Yen"
case .kgs: return "Kyrgyzstan Som"
case .khr: return "Cambodia Riel"
case .kpw: return "Korea (North) Won"
case .krw: return "Korea (South) Won"
case .kyd: return "Cayman Islands Dollar"
// case .kyd: return "Cayman Islands Dollar"
case .kzt: return "Kazakhstan Tenge"
case .lak: return "Laos Kip"
case .lbp: return "Lebanon Pound"
Expand Down Expand Up @@ -528,15 +528,15 @@ public enum FiatCurrency: String, Equatable, Hashable {
case .scr: return "Seychelles Rupee"
case .sek: return "Sweden Krona"
case .sgd: return "Singapore Dollar"
case .shp: return "Saint Helena Pound"
case .sos: return "Somalia Shilling"
// case .shp: return "Saint Helena Pound"
// case .sos: return "Somalia Shilling"
case .srd: return "Suriname Dollar"
case .svc: return "El Salvador Colon"
case .syp: return "Syria Pound"
case .thb: return "Thailand Baht"
case .try: return "Turkey Lira"
case .ttd: return "Trinidad and Tobago Dollar"
case .tvd: return "Tuvalu Dollar"
// case .tvd: return "Tuvalu Dollar"
case .twd: return "Taiwan New Dollar"
case .uah: return "Ukraine Hryvnia"
case .usd: return "United States Dollar"
Expand Down

0 comments on commit d951b75

Please sign in to comment.