diff LazyBear/Views/Search/CompanyList.swift @ 409:dc8dccd18e86

Minor UI changes
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sun, 06 Jun 2021 19:07:21 +0200
parents 0a4c399170c4
children 5f21f7c23c5e
line wrap: on
line diff
--- a/LazyBear/Views/Search/CompanyList.swift	Sun Jun 06 17:39:22 2021 +0200
+++ b/LazyBear/Views/Search/CompanyList.swift	Sun Jun 06 19:07:21 2021 +0200
@@ -12,7 +12,9 @@
     
     var body: some View {
         List(searchResult, id: \.self) { company in
-            SearchedCompanyItem(company: company)
+            NavigationLink(destination: CompanyView(symbol: company.symbol!)) {
+                SearchedCompanyItem(company: company)
+            }
         }
     }
 }