comparison LazyBear/Views/Global Helpers/StockItem.swift @ 345:fde2b30c719e

Implementing Networking in ProfileView
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Thu, 08 Apr 2021 20:15:28 +0200
parents ab909fc9ce55
children 80bfa88c6b0f
comparison
equal deleted inserted replaced
344:276e17f11c19 345:fde2b30c719e
58 ) 58 )
59 .onAppear { } 59 .onAppear { }
60 } 60 }
61 } 61 }
62 62
63 //struct StockItem_Previews: PreviewProvider { 63 struct StockItem_Previews: PreviewProvider {
64 // static var previews: some View { 64 static var previews: some View {
65 // StockItem(company: CompanyQuoteModel(companyName: "Akumin Inc", symbol: "AKU", latestPrice: 120.30, changePercent: 0.03)) 65 StockItem(company: CompanyQuoteModel(companyName: "Akumin Inc", symbol: "AKU", latestPrice: 120.30, changePercent: 0.03), intradayPrices: [IntradayPricesResult(open: 130.3)])
66 // 66
67 // } 67 }
68 //} 68 }