comparison LazyBear/Views/Home/Helpers/TradingDatesItem.swift @ 337:31f2838b2de7

Improving API requests with DispatchGroup
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Thu, 01 Apr 2021 16:34:45 +0200
parents 6f904b166564
children 09d05e48462f
comparison
equal deleted inserted replaced
336:6f904b166564 337:31f2838b2de7
27 27
28 Text(get(.day)) 28 Text(get(.day))
29 .font(.title) 29 .font(.title)
30 .fontWeight(.semibold) 30 .fontWeight(.semibold)
31 .foregroundColor(Color("default")) 31 .foregroundColor(Color("default"))
32
33 Text(get(.year))
34 .font(.caption)
35 .fontWeight(.semibold)
32 } 36 }
33 37
34 Spacer() 38 Spacer()
35 VStack { 39 VStack {
36 Text("US Markets open in regular hours") 40 Text("US Markets are closed")
37 .fontWeight(.semibold) 41 .fontWeight(.semibold)
38
39 Text("Random funny phrase")
40 .font(.caption)
41 .fontWeight(.semibold)
42 .multilineTextAlignment(.center)
43 .opacity(0.6)
44 } 42 }
45 43
46 Spacer() 44 Spacer()
47 } 45 }
48 .clipShape(RoundedRectangle(cornerRadius: 20)) 46 .clipShape(RoundedRectangle(cornerRadius: 20))