comparison LazyBear/Views/Search/SearchView.swift @ 392:13f3578def61

Implement create watchlist
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 01 May 2021 13:11:32 +0200
parents 8ec37b2baafd
children 0a4c399170c4
comparison
equal deleted inserted replaced
391:8ec37b2baafd 392:13f3578def61
19 19
20 var body: some View { 20 var body: some View {
21 NavigationView { 21 NavigationView {
22 VStack(alignment: .leading) { 22 VStack(alignment: .leading) {
23 if search.showSearchList { 23 if search.showSearchList {
24 CompanyList(searchResult: search.data, calledFromProfileView: calledFromProfileView, newWatchlistClass: newWatchlistClass) 24 CompanyList(searchResult: search.data, calledFromProfileView: calledFromProfileView, newWatchlistClass: newWatchlistClass, presentationMode: presentationMode)
25 } else { 25 } else {
26 VStack(alignment: .center) { 26 VStack(alignment: .center) {
27 Image("bearSleeping") 27 Image("bearSleeping")
28 .resizable() 28 .resizable()
29 .scaledToFit() 29 .scaledToFit()