Mercurial > public > lazybear
comparison LazyBear/Views/Home/HomeView.swift @ 357:eb97439e46cd
Implement ExtensiveList in HomeView
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Thu, 15 Apr 2021 23:37:25 +0200 |
parents | 5ccceb527178 |
children | f3cb5bdea8e5 |
comparison
equal
deleted
inserted
replaced
356:5385a8f8cc5c | 357:eb97439e46cd |
---|---|
32 } | 32 } |
33 | 33 |
34 if let lists = home.data.lists { | 34 if let lists = home.data.lists { |
35 ForEach(Array(lists.keys.sorted()), id: \.self) { listName in | 35 ForEach(Array(lists.keys.sorted()), id: \.self) { listName in |
36 if let intradayPrices = home.data.intradayPrices { | 36 if let intradayPrices = home.data.intradayPrices { |
37 StockRectangleRow(listName: listName, list: lists[listName]!, nestedIntradayPrices: intradayPrices) | 37 StockRow(listName: listName, list: lists[listName]!, nestedIntradayPrices: intradayPrices) |
38 } else { | 38 } else { |
39 StockRectangleRow(listName: listName, list: lists[listName]!, nestedIntradayPrices: nil) | 39 StockRow(listName: listName, list: lists[listName]!, nestedIntradayPrices: nil) |
40 } | 40 } |
41 } | 41 } |
42 .listRowInsets(EdgeInsets()) | 42 .listRowInsets(EdgeInsets()) |
43 } | 43 } |
44 | 44 |