Mercurial > public > lazybear
comparison LazyBear/Views/Home/Helpers/SectorRow.swift @ 349:5ccceb527178
Implementing new internal API
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 14 Apr 2021 23:08:26 +0200 |
parents | 80bfa88c6b0f |
children | 417148200aaf |
comparison
equal
deleted
inserted
replaced
348:0abb8d5c12ec | 349:5ccceb527178 |
---|---|
14 VStack(alignment: .leading) { | 14 VStack(alignment: .leading) { |
15 Text("Performance by sector") | 15 Text("Performance by sector") |
16 .font(.title3) | 16 .font(.title3) |
17 .fontWeight(.semibold) | 17 .fontWeight(.semibold) |
18 .padding([.top, .horizontal]) | 18 .padding([.top, .horizontal]) |
19 | |
20 Text("Real-time data") | |
21 .font(.caption) | |
22 .opacity(0.5) | |
23 .padding(.horizontal) | |
19 | 24 |
20 ScrollView(.horizontal, showsIndicators: false) { | 25 ScrollView(.horizontal, showsIndicators: false) { |
21 HStack(spacing: 20) { | 26 HStack(spacing: 20) { |
22 ForEach(sectorPerformance, id: \.self) { sector in | 27 ForEach(sectorPerformance, id: \.self) { sector in |
23 SectorItem(sector: sector) | 28 SectorItem(sector: sector) |