Mercurial > public > lazybear
comparison LazyBearWatchOS Extension/Views/Home/HomeView.swift @ 454:c79a3ed3d230
StockView for WatchOS implemented
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 27 Jun 2021 20:55:05 +0200 |
parents | 37c13ebda381 |
children |
comparison
equal
deleted
inserted
replaced
453:37c13ebda381 | 454:c79a3ed3d230 |
---|---|
20 NavigationView { | 20 NavigationView { |
21 ScrollView { | 21 ScrollView { |
22 VStack { | 22 VStack { |
23 if let companies = profile.data.quotes { | 23 if let companies = profile.data.quotes { |
24 ForEach(companies, id: \.self) { company in | 24 ForEach(companies, id: \.self) { company in |
25 CompanyRow(company: company) | 25 NavigationLink(destination: CompanyView(symbol: company.symbol, name: company.companyName) |
26 .navigationTitle(company.companyName.capitalized) | |
27 ) { | |
28 CompanyRow(company: company) | |
29 } | |
26 } | 30 } |
27 } | 31 } |
28 } | 32 } |
29 } | 33 } |
30 .navigationTitle("Lazybear") | 34 .navigationTitle("Lazybear") |