1
0
mirror of git://jb55.com/damus synced 2024-09-30 00:40:45 +00:00

setupview: remove damus gradient and use new login background

This commit is contained in:
ericholguin 2023-05-26 15:23:28 -06:00 committed by William Casarin
parent 5716578c20
commit e99142a5b8

View File

@ -22,8 +22,6 @@ struct SetupView: View {
var body: some View {
NavigationView {
ZStack {
DamusGradient()
VStack(alignment: .center) {
NavigationLink(destination: EULAView(), isActive: $eula) {
EmptyView()
@ -51,6 +49,13 @@ struct SetupView: View {
.foregroundColor(.white)
}
}
.background(
Image("login-header")
.resizable()
.frame(maxWidth: .infinity, maxHeight: 300, alignment: .center)
.ignoresSafeArea(),
alignment: .top
)
}
.navigationBarTitleDisplayMode(.inline)
.navigationViewStyle(StackNavigationViewStyle())