comparison LazyBearWatchOS Extension/Views/WatchOSCompanyView.swift @ 460:57471e7bcf08

Testing ComplicationsView
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sat, 03 Jul 2021 15:51:54 +0100
parents b560babcd5ed
children
comparison
equal deleted inserted replaced
459:114e4e3d1c7a 460:57471e7bcf08
34 .onReceive(timer) { _ in company.request("https://api.lazybear.app/company/symbol=\(symbol)/type=initial/range=5d", .streaming) } 34 .onReceive(timer) { _ in company.request("https://api.lazybear.app/company/symbol=\(symbol)/type=initial/range=5d", .streaming) }
35 } 35 }
36 } else { 36 } else {
37 ProgressView() 37 ProgressView()
38 .onAppear { 38 .onAppear {
39 company.request("https://api.lazybear.app/company/symbol=\(symbol)/type=initial/range=5d", .initial) 39 company.request("https://api.lazybear.app/company/symbol=\(symbol)/type=initial/range=5d/watch=true", .initial)
40 } 40 }
41 } 41 }
42 } 42 }
43 } 43 }
44 44