comparison LazyBear/Views/Home/Helpers/SectorRow.swift @ 441:417148200aaf

Change background color and minor UI updates
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 20 Jun 2021 19:52:21 +0200
parents 5ccceb527178
children
comparison
equal deleted inserted replaced
440:01fa77358b82 441:417148200aaf
18 .padding([.top, .horizontal]) 18 .padding([.top, .horizontal])
19 19
20 Text("Real-time data") 20 Text("Real-time data")
21 .font(.caption) 21 .font(.caption)
22 .opacity(0.5) 22 .opacity(0.5)
23 .padding(.horizontal) 23 .padding([.horizontal, .bottom])
24 24
25 ScrollView(.horizontal, showsIndicators: false) { 25 ScrollView(.horizontal, showsIndicators: false) {
26 HStack(spacing: 20) { 26 HStack(spacing: 20) {
27 ForEach(sectorPerformance, id: \.self) { sector in 27 ForEach(sectorPerformance, id: \.self) { sector in
28 SectorItem(sector: sector) 28 SectorItem(sector: sector)