Mercurial > public > lazybear
changeset 134:0a7cdf17204c
Start Settings view 👨🏻🔧
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Mon, 08 Feb 2021 19:33:22 +0100 |
parents | d3468ac3ecc6 |
children | 528550464bef |
files | LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate lazybear/Views/Settings.swift lazybear/Views/ViewSelector.swift |
diffstat | 3 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
Binary file LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/lazybear/Views/Settings.swift Mon Feb 08 19:08:53 2021 +0100 +++ b/lazybear/Views/Settings.swift Mon Feb 08 19:33:22 2021 +0100 @@ -9,7 +9,22 @@ struct Settings: View { var body: some View { - Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + NavigationView { + Form { + Section(header: Text("")) { + Label("General", image: "") + Label("Appearance", image: "") + Label("Theme", image: "") + Label("App icon", image: "") + } + + Section(header: Text("")) { + Label("About", image: "") + Label("Rate Lazybear", image: "") + } + } + .navigationBarTitle("Settings", displayMode: .inline) + } } }
--- a/lazybear/Views/ViewSelector.swift Mon Feb 08 19:08:53 2021 +0100 +++ b/lazybear/Views/ViewSelector.swift Mon Feb 08 19:33:22 2021 +0100 @@ -27,7 +27,7 @@ //message: Text("History will be claered from your device"), buttons: [.cancel(Text("Cancel")) { self.showingActionSheet = false }, .default(Text("Chart & news")) { self.viewSelected = 0 }, - .default(Text("Insider transactions")) { self.viewSelected = 1 } + .default(Text("Insiders")) { self.viewSelected = 1 } ]) return action