Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions iWallet/Model/CurrencyModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import Foundation

enum Currency: String, CaseIterable, Identifiable, Hashable {
case aed = "AED"
case usd = "USD"
case eur = "EUR"
case jpy = "JPY"
Expand Down Expand Up @@ -45,6 +46,7 @@ enum Currency: String, CaseIterable, Identifiable, Hashable {

var symbol: String {
let currencySymbols: [Currency: String] = [
.aed: "AED",
.usd: "$",
.eur: "€",
.jpy: "¥",
Expand Down