comparison LazyBear/Views/Search/SearchView.swift @ 428:8c58ce834d95

Bug fixes and change assets
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Fri, 18 Jun 2021 12:43:17 +0200
parents 5f21f7c23c5e
children c78d5b5b3bda
comparison
equal deleted inserted replaced
427:e707dbfc3115 428:8c58ce834d95
18 VStack(alignment: .leading) { 18 VStack(alignment: .leading) {
19 if search.showSearchList { 19 if search.showSearchList {
20 CompanyList(searchResult: search.data) 20 CompanyList(searchResult: search.data)
21 } else { 21 } else {
22 VStack(alignment: .center) { 22 VStack(alignment: .center) {
23 Image("bearSleeping") 23 Image("suitBear")
24 .resizable() 24 .resizable()
25 .scaledToFit() 25 .scaledToFit()
26 26
27 Text("Are you looking for something?") 27 Text("Are you looking for something?")
28 .font(.title2) 28 .font(.title2)
29 .fontWeight(.semibold) 29 .fontWeight(.semibold)
30 .multilineTextAlignment(.center) 30 .multilineTextAlignment(.center)
31 .padding(.bottom) 31 .padding(.bottom)
32 32
33 Text("Use the search bar to find your favourite company. Type the stock symbol or name, we'll find it!") 33 Text("Use the search bar to find your favourite company. Type the stock symbol or name, I'll find it")
34 .multilineTextAlignment(.center) 34 .multilineTextAlignment(.center)
35 } 35 }
36 .padding(.horizontal) 36 .padding(.horizontal)
37 } 37 }
38 } 38 }