From 122d0e451ea9b037ea6684efa5efd24856d40512 Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 26 May 2023 15:54:49 -0600 Subject: [PATCH] loginview: ui: replace damus gradient with new login background --- damus/Views/LoginView.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/damus/Views/LoginView.swift b/damus/Views/LoginView.swift index 04ac0c10..21fce697 100644 --- a/damus/Views/LoginView.swift +++ b/damus/Views/LoginView.swift @@ -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() }