Mercurial > public > lazybear
comparison LazyBear/Views/Profile/ProfileView.swift @ 405:fd8df65927e9
Implementing CapsuleChart in insiders
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Sat, 05 Jun 2021 19:04:44 +0200 |
parents | f843c6382529 |
children | f9611c94d636 |
comparison
equal
deleted
inserted
replaced
404:444ec927d62f | 405:fd8df65927e9 |
---|---|
93 /* | 93 /* |
94 When a company is added to a watchlist or a new watchlist is created -> call function | 94 When a company is added to a watchlist or a new watchlist is created -> call function |
95 to make the API request and refresh correctly the list | 95 to make the API request and refresh correctly the list |
96 */ | 96 */ |
97 private func refreshList() { | 97 private func refreshList() { |
98 print("Companies in watchlist -> \(watchlistCompanies.count)") | 98 // print("Companies in watchlist -> \(watchlistCompanies.count)") |
99 print("Companies requested -> \(profile.data.quotes!.count)") | 99 // print("Companies requested -> \(profile.data.quotes!.count)") |
100 | 100 |
101 if profile.data.quotes!.count < watchlistCompanies.count { | 101 if profile.data.quotes!.count < watchlistCompanies.count { |
102 prepareUrl(.initial) | 102 prepareUrl(.initial) |
103 } | 103 } |
104 } | 104 } |