Mercurial > public > lazybear
comparison LazyBear/Views/Profile/ProfileView.swift @ 377:d01859776fe6
ProfileView updated
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 21 Apr 2021 16:44:11 +0200 |
parents | f3cb5bdea8e5 |
children | 6802c2393203 |
comparison
equal
deleted
inserted
replaced
376:8162ccc5ec5c | 377:d01859776fe6 |
---|---|
5 // Created by Dennis Concepción Martín on 4/4/21. | 5 // Created by Dennis Concepción Martín on 4/4/21. |
6 // | 6 // |
7 | 7 |
8 import SwiftUI | 8 import SwiftUI |
9 | 9 |
10 //struct ProfileView: View { | 10 struct ProfileView: View { |
11 // @ObservedObject var profile = Profile() | 11 @ObservedObject var profile = Profile() |
12 // | 12 |
13 // var body: some View { | 13 var body: some View { |
14 // NavigationView { | 14 NavigationView { |
15 // List { | 15 List { |
16 // | 16 |
17 // | 17 |
18 // } | 18 } |
19 // .navigationTitle("My profile") | 19 .navigationTitle("My profile") |
20 // .navigationBarTitleDisplayMode(.inline) | 20 .navigationBarTitleDisplayMode(.inline) |
21 // .onAppear { | 21 .onAppear { |
22 // profile.request("https://api.lazybear.app/profile/init/symbols/aapl") | 22 profile.request("https://api.lazybear.app/profile/type=init/symbols=aapl,fb") |
23 // } | 23 } |
24 // } | 24 } |
25 // } | 25 } |
26 //} | 26 } |
27 // | 27 |
28 //struct ProfileView_Previews: PreviewProvider { | 28 struct ProfileView_Previews: PreviewProvider { |
29 // static var previews: some View { | 29 static var previews: some View { |
30 // ProfileView() | 30 ProfileView() |
31 // } | 31 } |
32 //} | 32 } |