Mercurial > public > simoleon
comparison Simoleon/Helpers/CurrencyList.swift @ 187:13d5a8deb6c2
add AboutView and FavoritesView
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Thu, 23 Dec 2021 16:12:22 +0100 |
parents | 1ebd1c5dd302 |
children |
comparison
equal
deleted
inserted
replaced
186:1ebd1c5dd302 | 187:13d5a8deb6c2 |
---|---|
75 | 75 |
76 struct CurrencyList_Previews: PreviewProvider { | 76 struct CurrencyList_Previews: PreviewProvider { |
77 static var previews: some View { | 77 static var previews: some View { |
78 CurrencyList( | 78 CurrencyList( |
79 baseCurrency: .constant(SupportedCurrencyResult(code: "EUR", name: "Euro", isCrypto: 0)), | 79 baseCurrency: .constant(SupportedCurrencyResult(code: "EUR", name: "Euro", isCrypto: 0)), |
80 quoteCurrency: .constant(SupportedCurrencyResult(code: "CHF", name: "Swiss Franc", isCrypto: 0)), | 80 quoteCurrency: .constant(SupportedCurrencyResult(code: "USD", name: "U.S. Dollar", isCrypto: 0)), |
81 selecting: .baseCurrency | 81 selecting: .baseCurrency |
82 ) | 82 ) |
83 } | 83 } |
84 } | 84 } |