loginview: ui: replace damus gradient with new login background
This commit is contained in:
committed by
William Casarin
parent
f99e311e58
commit
122d0e451e
@@ -55,7 +55,6 @@ struct LoginView: View {
|
||||
|
||||
var body: some View {
|
||||
ZStack(alignment: .top) {
|
||||
DamusGradient()
|
||||
if accepted {
|
||||
NavigationLink(destination: CreateAccountView(), isActive: $create_account) {
|
||||
EmptyView()
|
||||
@@ -112,6 +111,13 @@ struct LoginView: View {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.background(
|
||||
Image("login-header")
|
||||
.resizable()
|
||||
.frame(maxWidth: .infinity, maxHeight: 350, alignment: .center)
|
||||
.ignoresSafeArea(),
|
||||
alignment: .top
|
||||
)
|
||||
.onAppear {
|
||||
credential_handler.check_credentials()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user