Mercurial > public > lazybear
diff LazyBear/Views/Profile/Helpers/WatchlistCreatorList.swift @ 404:444ec927d62f
Install Bazooka package
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Thu, 03 Jun 2021 16:05:01 +0200 |
parents | 4c90e5b18632 |
children | 5f21f7c23c5e |
line wrap: on
line diff
--- a/LazyBear/Views/Profile/Helpers/WatchlistCreatorList.swift Sun May 23 19:00:00 2021 +0200 +++ b/LazyBear/Views/Profile/Helpers/WatchlistCreatorList.swift Thu Jun 03 16:05:01 2021 +0200 @@ -6,6 +6,7 @@ // import SwiftUI +import Bazooka struct WatchlistCreatorList: View { @ObservedObject var watchlistCreatorClass: WatchlistCreatorClass @@ -44,7 +45,8 @@ } private func request(_ url: String) { - genericRequest(url: url, model: [SearchResponse].self) { response in + let bazooka = Bazooka() + bazooka.request(url: url, model: [SearchResponse].self) { response in self.companies = response } }