mirror of
git://jb55.com/damus
synced 2024-09-30 08:50:42 +00:00
setupview: remove damus gradient and use new login background
This commit is contained in:
parent
5716578c20
commit
e99142a5b8
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user