extract HomeModel from ContentView

huge refactor

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-05-24 12:57:40 -07:00
parent b230d430ee
commit 097cc54bba
27 changed files with 1221 additions and 371 deletions

View File

@@ -45,6 +45,9 @@ struct SetupView: View {
NavigationLink(destination: CreateAccountView(), tag: .create_account, selection: $state ) {
EmptyView()
}
NavigationLink(destination: LoginView(), tag: .login, selection: $state ) {
EmptyView()
}
Image("logo-nobg")
.resizable()
@@ -64,7 +67,7 @@ struct SetupView: View {
}
Button("Login") {
notify(.login, ())
self.state = .login
}
.padding([.top, .bottom], 20)
.foregroundColor(.white)